changed log time
This commit is contained in:
parent
3794086726
commit
17ee07e09a
@ -37,7 +37,7 @@ public final class InMemoryStorage {
|
||||
private InMemoryStorage() {
|
||||
storage = new ConcurrentHashMap<>();
|
||||
statExecutor = Executors.newSingleThreadScheduledExecutor();
|
||||
statExecutor.scheduleAtFixedRate(this::printStats, 30, 30, TimeUnit.SECONDS);
|
||||
statExecutor.scheduleAtFixedRate(this::printStats, 60, 60, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
private void printStats() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user