diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dns.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |