]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dns.h
Limit DNS cache size
[user/henk/code/inspircd.git] / include / dns.h
index de4bcf4223fb713273b3edc2a4a1243f67b35490..05df6f69cb3baeb1efb5ac747b120126bbc580dc 100644 (file)
@@ -302,6 +302,10 @@ class CoreExport DNS : public EventHandler
         */
        static const int MAX_REQUEST_ID = 0xFFFF;
 
+       /** Maximum number of entries in cache
+        */
+       static const unsigned int MAX_CACHE_SIZE = 1000;
+
        /**
         * Currently cached items
         */