From 690ac9de2da076398db2e896b0084482cff35e9c Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 18 Jul 2020 12:08:56 +0530 Subject: [PATCH] StatsManager: updated maintenance timer interval to count stats early. --- DnsServerCore/Dns/StatsManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DnsServerCore/Dns/StatsManager.cs b/DnsServerCore/Dns/StatsManager.cs index b062c483..9c359fa3 100644 --- a/DnsServerCore/Dns/StatsManager.cs +++ b/DnsServerCore/Dns/StatsManager.cs @@ -59,8 +59,8 @@ namespace DnsServerCore.Dns readonly ConcurrentDictionary _dailyStatsCache = new ConcurrentDictionary(); readonly Timer _maintenanceTimer; - const int MAINTENANCE_TIMER_INITIAL_INTERVAL = 60000; - const int MAINTENANCE_TIMER_INTERVAL = 60000; + const int MAINTENANCE_TIMER_INITIAL_INTERVAL = 10000; + const int MAINTENANCE_TIMER_INTERVAL = 10000; readonly ConcurrentQueue _queue = new ConcurrentQueue(); readonly Thread _consumerThread;