X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=const.py;h=58d539ec56ea1723b1a90be03786958fb2fa014c;hb=cc191e1f1a6b78e15cbf13def1d933cc817a13e3;hp=42d060ba32bdb5664e875f823316a4d30f94faf1;hpb=2c1a51b121f07cc7d629eeeb3fe728b72660649f;p=quix0rs-apt-p2p.git diff --git a/const.py b/const.py index 42d060b..58d539e 100644 --- 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