]> git.mxchange.org Git - quix0rs-apt-p2p.git/commitdiff
Fix a bug in loading the new KRPC timeout config params.
authorCameron Dale <camrdale@gmail.com>
Mon, 21 Apr 2008 20:08:13 +0000 (13:08 -0700)
committerCameron Dale <camrdale@gmail.com>
Mon, 21 Apr 2008 20:08:13 +0000 (13:08 -0700)
apt_p2p_Khashmir/DHT.py

index 3b206dd86597b4c53d0c417d11a8adbfaa9a3f07..d6ff2f1373eef9abe7c20c5c0ae56eaceb02f89e 100644 (file)
@@ -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', 
-                       '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']: