changed log time

This commit is contained in:
YevhenBondarenko 2020-08-28 16:01:43 +03:00
parent 3794086726
commit 17ee07e09a

View File

@ -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() {