From 8237c257f13f58352971168813c4dd965de833ef Mon Sep 17 00:00:00 2001 From: burris Date: Fri, 13 Sep 2002 20:15:34 +0000 Subject: [PATCH] keys persist for 24 hours +- 1 hour --- actions.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.5