projects
/
quix0rs-apt-p2p.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dbcf7d0
)
Fix a bug in loading the new KRPC timeout config params.
author
Cameron Dale
<camrdale@gmail.com>
Mon, 21 Apr 2008 20:08:13 +0000
(13:08 -0700)
committer
Cameron Dale
<camrdale@gmail.com>
Mon, 21 Apr 2008 20:08:13 +0000
(13:08 -0700)
apt_p2p_Khashmir/DHT.py
patch
|
blob
|
history
diff --git
a/apt_p2p_Khashmir/DHT.py
b/apt_p2p_Khashmir/DHT.py
index 3b206dd86597b4c53d0c417d11a8adbfaa9a3f07..d6ff2f1373eef9abe7c20c5c0ae56eaceb02f89e 100644
(file)
--- a/
apt_p2p_Khashmir/DHT.py
+++ b/
apt_p2p_Khashmir/DHT.py
@@
-111,7
+111,8
@@
class DHT:
self.config[k] = self.config_parser.getint(section, k)
# The times in the config file
elif k in ['CHECKPOINT_INTERVAL', 'MIN_PING_INTERVAL',
self.config[k] = self.config_parser.getint(section, k)
# The times in the config file
elif k in ['CHECKPOINT_INTERVAL', 'MIN_PING_INTERVAL',
- 'BUCKET_STALENESS', 'KEY_EXPIRE']:
+ 'BUCKET_STALENESS', 'KEY_EXPIRE',
+ 'KRPC_TIMEOUT', 'KRPC_INITIAL_DELAY']:
self.config[k] = self.config_parser.gettime(section, k)
# The booleans in the config file
elif k in ['SPEW']:
self.config[k] = self.config_parser.gettime(section, k)
# The booleans in the config file
elif k in ['SPEW']: