Changeset 605 for trunk/pdns/pdns/pdns_recursor.cc
- Timestamp:
- 03/20/06 16:33:52 (7 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/pdns_recursor.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/pdns_recursor.cc
r602 r605 276 276 pw.getHeader()->rcode=res; 277 277 switch(res) { 278 case RCode::ServFail: 279 g_stats.servFails++; 280 break; 278 281 case RCode::NXDomain: 279 282 g_stats.nxDomains++; … … 524 527 525 528 if(now.tv_sec - last_prune > 60) { 529 DTime dt; 530 dt.setTimeval(now); 526 531 RC.doPrune(); 527 532 int pruned=0; … … 542 547 543 548 // cerr<<"Pruned "<<pruned<<" records, left "<<SyncRes::s_negcache.size()<<"\n"; 549 // cout<<"Prune took "<<dt.udiff()<<"usec\n"; 544 550 last_prune=time(0); 545 551 }