mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-02 23:05:57 +00:00
StatsManager: updated maintenance timer interval to count stats early.
This commit is contained in:
@@ -59,8 +59,8 @@ namespace DnsServerCore.Dns
|
||||
readonly ConcurrentDictionary<DateTime, StatCounter> _dailyStatsCache = new ConcurrentDictionary<DateTime, StatCounter>();
|
||||
|
||||
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<StatsQueueItem> _queue = new ConcurrentQueue<StatsQueueItem>();
|
||||
readonly Thread _consumerThread;
|
||||
|
||||
Reference in New Issue
Block a user