Bump out the timeouts on the Preset loader so it doesn't complain when running with debugging output enabled.
This commit is contained in:
parent
bde3ea3701
commit
8afe72eb1e
@ -70,9 +70,9 @@ public class ConcurrentComponentPresetDatabaseLoader {
|
|||||||
public void await() throws InterruptedException {
|
public void await() throws InterruptedException {
|
||||||
latch.await();
|
latch.await();
|
||||||
loaderPool.shutdown();
|
loaderPool.shutdown();
|
||||||
loaderPool.awaitTermination(10, TimeUnit.SECONDS);
|
loaderPool.awaitTermination(30, TimeUnit.SECONDS);
|
||||||
writerPool.shutdown();
|
writerPool.shutdown();
|
||||||
writerPool.awaitTermination(10, TimeUnit.SECONDS);
|
writerPool.awaitTermination(30, TimeUnit.SECONDS);
|
||||||
iterator.close();
|
iterator.close();
|
||||||
long end = System.currentTimeMillis();
|
long end = System.currentTimeMillis();
|
||||||
log.debug("Time to load presets: " + (end-startTime) + "ms " + presetCount + " loaded from " + fileCount + " files");
|
log.debug("Time to load presets: " + (end-startTime) + "ms " + presetCount + " loaded from " + fileCount + " files");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user