summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-02-13 19:20:12 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-02-13 19:20:12 +0100
commit2fe72dc9a8533e880f53d9f37bd1684f41052035 (patch)
tree84bba1bbc4d504b1030d5d0ed6ae97c6e22d3e07
parent748b3a0d89e7ecc9a766471b79fb78f63a5ca2bb (diff)
Garbage collect DNS cache more often
-rw-r--r--src/dns.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{