X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fdns.h;h=05df6f69cb3baeb1efb5ac747b120126bbc580dc;hb=584cbe80152ed3bb8cdbedc41c43d63cd10ca799;hp=de4bcf4223fb713273b3edc2a4a1243f67b35490;hpb=e6601069038c35c546fd3f3dce95024b0d13f1b4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/dns.h b/include/dns.h index de4bcf422..05df6f69c 100644 --- a/include/dns.h +++ b/include/dns.h @@ -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 */