Show
Ignore:
Timestamp:
04/14/09 23:20:43 (4 years ago)
Author:
ahu
Message:

set a sane default for the maximum cache size in the recursor, suggested by Roel van der Made

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/pdns_recursor.cc

    r1350 r1354  
    20192019    ::arg().set("max-tcp-clients","Maximum number of simultaneous TCP clients")="128"; 
    20202020    ::arg().set("hint-file", "If set, load root hints from this file")=""; 
    2021     ::arg().set("max-cache-entries", "If set, maximum number of entries in the main cache")="0"; 
     2021    ::arg().set("max-cache-entries", "If set, maximum number of entries in the main cache")="1000000"; 
    20222022    ::arg().set("max-negative-ttl", "maximum number of seconds to keep a negative cached entry in memory")="3600"; 
    20232023    ::arg().set("server-id", "Returned when queried for 'server.id' TXT or NSID, defaults to hostname")="";