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 3b206dd..d6ff2f1 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']: