Shut down faster
This commit is contained in:
@ -129,7 +129,8 @@ public abstract class GossipManager extends Thread implements NotificationListen
|
|||||||
GossipService.LOGGER.info("The GossipService is started.");
|
GossipService.LOGGER.info("The GossipService is started.");
|
||||||
while(_gossipServiceRunning.get()) {
|
while(_gossipServiceRunning.get()) {
|
||||||
try {
|
try {
|
||||||
TimeUnit.SECONDS.sleep(10);
|
//TODO
|
||||||
|
TimeUnit.MILLISECONDS.sleep(1);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
GossipService.LOGGER.info("The GossipClient was interrupted.");
|
GossipService.LOGGER.info("The GossipClient was interrupted.");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user