diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-03-12 15:05:53 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-03-12 15:05:53 +0000 |
| commit | 4e637779a5ac4fa2c8cb8ba466f2b01d9c1f0bfd (patch) | |
| tree | fa66ac621b5d8c1bb09244d9024acb9778da7feb /src/DHTGetPeersCommand.h | |
| parent | 7d8044ef1033cd20f833d32773fcdcde19583cda (diff) | |
2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
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
Diffstat (limited to 'src/DHTGetPeersCommand.h')
| -rw-r--r-- | src/DHTGetPeersCommand.h | 2 |
1 files changed, 0 insertions, 2 deletions
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; |
