Changeset 1386

Show
Ignore:
Timestamp:
07/30/09 22:42:58 (4 years ago)
Author:
ahu
Message:

cherrypick 1354, sane maximum cache size

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tags/pdns-3.1.7.1/pdns/pdns_recursor.cc

    r1385 r1386  
    19991999    ::arg().set("max-tcp-clients","Maximum number of simultaneous TCP clients")="128"; 
    20002000    ::arg().set("hint-file", "If set, load root hints from this file")=""; 
    2001     ::arg().set("max-cache-entries", "If set, maximum number of entries in the main cache")="0"; 
     2001    ::arg().set("max-cache-entries", "If set, maximum number of entries in the main cache")="1000000"; 
    20022002    ::arg().set("max-negative-ttl", "maximum number of seconds to keep a negative cached entry in memory")="3600"; 
    20032003    ::arg().set("server-id", "Returned when queried for 'server.id' TXT, defaults to hostname")="";