From e9b59a4949d3237a76a98aeeb39a148ec5a9f868 Mon Sep 17 00:00:00 2001 From: Kevan Carstensen Date: Sat, 20 Feb 2010 17:05:12 -0800 Subject: [PATCH] Increase ophandle expiration times, per #577 --- src/allmydata/web/operations.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/allmydata/web/operations.py b/src/allmydata/web/operations.py index 2466ecda..7fbf8d27 100644 --- a/src/allmydata/web/operations.py +++ b/src/allmydata/web/operations.py @@ -14,14 +14,15 @@ from allmydata.web.common import IOpHandleTable, WebError, \ MINUTE = 60 HOUR = 60*MINUTE +DAY = 24*HOUR (MONITOR, RENDERER, WHEN_ADDED) = range(3) class OphandleTable(rend.Page, service.Service): implements(IOpHandleTable) - UNCOLLECTED_HANDLE_LIFETIME = 1*HOUR - COLLECTED_HANDLE_LIFETIME = 10*MINUTE + UNCOLLECTED_HANDLE_LIFETIME = 4*DAY + COLLECTED_HANDLE_LIFETIME = 1*DAY def __init__(self): # both of these are indexed by ophandle -- 2.45.2