Changeset 466
- Timestamp:
- 09/02/05 15:10:17 (8 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/syncres.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/syncres.hh
r433 r466 49 49 if(i==d_cont.end()) 50 50 return false; 51 if(now > i->second.ttd || i->second.count-- < 0) {51 if(now > i->second.ttd || i->second.count-- < 0) { 52 52 d_cont.erase(i); 53 return true;54 53 } 54 55 return true; // still listed, still blocked 55 56 } 56 57 void throttle(time_t now, const Thing& t, unsigned int ttl=0, unsigned int tries=0)