Changeset 441

Show
Ignore:
Timestamp:
07/14/05 17:01:55 (8 years ago)
Author:
ahu
Message:

improve sleeping

Files:
1 modified

Legend:

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

    r428 r441  
    288288        } 
    289289 
    290         if(lastsent.tv_sec) { 
     290        if(lastsent.tv_sec && (!(s_questions%25))) { 
    291291          double seconds=pr.d_pheader.ts.tv_sec - lastsent.tv_sec; 
    292292          double useconds=(pr.d_pheader.ts.tv_usec - lastsent.tv_usec);