]> git.mxchange.org Git - quix0rs-apt-p2p.git/commitdiff
keys persist for 24 hours +- 1 hour
authorburris <burris>
Fri, 13 Sep 2002 20:15:34 +0000 (20:15 +0000)
committerburris <burris>
Fri, 13 Sep 2002 20:15:34 +0000 (20:15 +0000)
actions.py

index b870534121818c1adc806713fdc235a9cc0366d1..77160d7669b3e5e1a2b0bd97ce26a29c47dbb38b 100644 (file)
@@ -180,9 +180,10 @@ class GetValue(FindNode):
            reactor.callFromThread(self.callback, [])
 
 
-KEINITIAL_DELAY = 60 # 1 minute
-KE_DELAY = 60 # 1 minute
-KE_AGE = 60 * 5
+KEINITIAL_DELAY = 60 * 60 * 24 # 24 hours
+KE_DELAY = 60 * 60 # 1 hour
+KE_AGE = KEINITIAL_DELAY
+
 class KeyExpirer:
     def __init__(self, store, itime, kw):
        self.store = store