From: Cameron Dale Date: Mon, 21 Apr 2008 20:08:13 +0000 (-0700) Subject: Fix a bug in loading the new KRPC timeout config params. X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=commitdiff_plain;h=3effe84f68e83e838bca36ae5b15069053c97e1b;ds=sidebyside Fix a bug in loading the new KRPC timeout config params. --- diff --git a/apt_p2p_Khashmir/DHT.py b/apt_p2p_Khashmir/DHT.py index 3b206dd..d6ff2f1 100644 --- 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', - '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']: