diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-02-13 19:20:12 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-02-13 19:20:12 +0100 |
commit | 2fe72dc9a8533e880f53d9f37bd1684f41052035 (patch) | |
tree | 84bba1bbc4d504b1030d5d0ed6ae97c6e22d3e07 /src/dns.cpp | |
parent | 748b3a0d89e7ecc9a766471b79fb78f63a5ca2bb (diff) |
Garbage collect DNS cache more often
Diffstat (limited to 'src/dns.cpp')
-rw-r--r-- | src/dns.cpp | 2 |
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) { |