]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Garbage collect DNS cache more often
authorAttila Molnar <attilamolnar@hush.com>
Sat, 13 Feb 2016 18:20:12 +0000 (19:20 +0100)
committerAttila Molnar <attilamolnar@hush.com>
Sat, 13 Feb 2016 18:20:12 +0000 (19:20 +0100)
src/dns.cpp

index 14305ccab2f49a2a4e94f94ee67dc543c34e92c2..1755c7dac85f1c9b474fb2cd4291269e91062a07 100644 (file)
@@ -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)
        {