Shut down faster

This commit is contained in:
Edward Capriolo
2015-01-12 20:04:42 -05:00
parent 924bf70f36
commit 172789f312

View File

@ -129,7 +129,8 @@ public abstract class GossipManager extends Thread implements NotificationListen
GossipService.LOGGER.info("The GossipService is started.");
while(_gossipServiceRunning.get()) {
try {
TimeUnit.SECONDS.sleep(10);
//TODO
TimeUnit.MILLISECONDS.sleep(1);
} catch (InterruptedException e) {
GossipService.LOGGER.info("The GossipClient was interrupted.");
}