Show
Ignore:
Timestamp:
03/10/06 14:05:40 (7 years ago)
Author:
ahu
Message:

only prune cache once every 5 minutes, not every minute
we neglected to add the 'bootstrapping' script to the tarball, thanks to Stefan Arentz for noticing

Files:
1 modified

Legend:

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

    r572 r574  
    517517} 
    518518 
    519 void houseKeeping(void *) 
     519static void houseKeeping(void *) 
    520520{ 
    521521  static time_t last_stat, last_rootupdate, last_prune; 
    522522  time_t now=time(0); 
    523   if(now - last_prune > 60) {  
     523  if(now - last_prune > 300) {  
    524524    RC.doPrune(); 
    525525    int pruned=0;