]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - const.py
AptPackages only takes a single cache directory.
[quix0rs-apt-p2p.git] / const.py
index 42d060ba32bdb5664e875f823316a4d30f94faf1..58d539ec56ea1723b1a90be03786958fb2fa014c 100644 (file)
--- a/const.py
+++ b/const.py
@@ -16,7 +16,6 @@ try:
 except IOError:
     print "no resolv.conf!"
 """
-from twisted.internet import reactor
 
 # magic id to use before we know a peer's id
 NULL_ID =  20 * '\0'
@@ -47,7 +46,7 @@ MAX_FAILURES = 3
 MIN_PING_INTERVAL = 60 * 15 # fifteen minutes
 
 # refresh buckets that haven't been touched in this long
-BUCKET_STALENESS = 60 # one hour
+BUCKET_STALENESS = 60 * 60 # one hour
 
 
 ###  KEY EXPIRER