From 4e637779a5ac4fa2c8cb8ba466f2b01d9c1f0bfd Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 12 Mar 2010 15:05:53 +0000 Subject: 2010-03-13 Tatsuhiro Tsujikawa Few adjustment for timeouts in DHT. DHT message timeout is changed from 15 to 10. The interval of PeerLookup is first 5 seconds and it adds another 5 seconds in each retry. * src/DHTConstants.h * src/DHTGetPeersCommand.cc * src/DHTGetPeersCommand.h --- src/DHTGetPeersCommand.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/DHTGetPeersCommand.h') diff --git a/src/DHTGetPeersCommand.h b/src/DHTGetPeersCommand.h index 5cabf374..ad45bb7a 100644 --- a/src/DHTGetPeersCommand.h +++ b/src/DHTGetPeersCommand.h @@ -54,8 +54,6 @@ class DHTGetPeersCommand:public Command { private: static const time_t GET_PEER_INTERVAL = (15*60); - static const time_t RETRY_INTERVAL = 60; - static const size_t MAX_RETRIES = 10; RequestGroup* _requestGroup; -- cgit