Show
Ignore:
Timestamp:
06/17/06 16:03:27 (7 years ago)
Author:
ahu
Message:

slight speedup by testing the TCP sessions for timeouts less often, add 'current-queries' command which lists current outstanding queries

Files:
1 modified

Legend:

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

    r854 r855  
    134134typedef vector<int> tcpserversocks_t; 
    135135 
    136 typedef MTasker<PacketID,string> MT_t; 
    137 MT_t* MT; 
    138  
     136MT_t* MT; // the big MTasker 
    139137 
    140138void handleTCPClientWritable(int fd, boost::any& var); 
     
    761759    try { 
    762760      DNSComboWriter* dc = new DNSComboWriter(data, len, g_now); 
    763        
    764761      dc->setRemote(&fromaddr); 
    765762       
     
    15551552    } 
    15561553 
    1557     if(!(counter%11)) { 
     1554    if(!(counter%55)) { 
    15581555      typedef vector<pair<int, boost::any> > expired_t; 
    15591556      expired_t expired=g_fdm->getTimeouts(g_now);