Allow yet more time for loading presets. A bug report from a really slow machine took more than 2 minutes to parse all the files.
This commit is contained in:
parent
ee31d47d1d
commit
d5d0c7f8b8
@ -73,9 +73,9 @@ public class ConcurrentComponentPresetDatabaseLoader {
|
||||
public void await() throws InterruptedException {
|
||||
latch.await();
|
||||
loaderPool.shutdown();
|
||||
loaderPool.awaitTermination(90, TimeUnit.SECONDS);
|
||||
loaderPool.awaitTermination(200, TimeUnit.SECONDS);
|
||||
writerPool.shutdown();
|
||||
writerPool.awaitTermination(90, TimeUnit.SECONDS);
|
||||
writerPool.awaitTermination(200, TimeUnit.SECONDS);
|
||||
if ( iterator != null ) {
|
||||
iterator.close();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user