From: burris Date: Fri, 13 Sep 2002 20:15:34 +0000 (+0000) Subject: keys persist for 24 hours +- 1 hour X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8237c257f13f58352971168813c4dd965de833ef;p=quix0rs-apt-p2p.git keys persist for 24 hours +- 1 hour --- diff --git a/actions.py b/actions.py index b870534..77160d7 100644 --- a/actions.py +++ b/actions.py @@ -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