Show
Ignore:
Timestamp:
04/04/06 17:26:07 (7 years ago)
Author:
ahu
Message:

move cache to being pruned 'CLOCK' fashion

Files:
1 modified

Legend:

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

    r652 r656  
    290290    if(res<0) { 
    291291      pw.getHeader()->rcode=RCode::ServFail; 
    292       pw.commit(); 
     292      // no commit here, because no record 
    293293      g_stats.servFails++; 
    294294    } 
     
    679679    ::arg().set("max-tcp-clients","Maximum number of simultaneous TCP clients")="128"; 
    680680    ::arg().set("hint-file", "If set, load root hints from this file")=""; 
     681    ::arg().set("max-cache-entries", "If set, maximum number of entries in the main cache")="0"; 
    681682 
    682683    ::arg().setCmd("help","Provide a helpful message");