From 3effe84f68e83e838bca36ae5b15069053c97e1b Mon Sep 17 00:00:00 2001 From: Cameron Dale Date: Mon, 21 Apr 2008 13:08:13 -0700 Subject: [PATCH] Fix a bug in loading the new KRPC timeout config params. --- apt_p2p_Khashmir/DHT.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']: -- 2.39.2