From 2fe72dc9a8533e880f53d9f37bd1684f41052035 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 13 Feb 2016 19:20:12 +0100 Subject: Garbage collect DNS cache more often --- src/dns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns.cpp b/src/dns.cpp index 14305ccab..1755c7dac 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -121,7 +121,7 @@ class CacheTimer : public Timer DNS* dns; public: CacheTimer(DNS* thisdns) - : Timer(3600, ServerInstance->Time(), true), dns(thisdns) { } + : Timer(5*60, ServerInstance->Time(), true), dns(thisdns) { } virtual void Tick(time_t) { -- cgit v1.2.3