From: Kevan Carstensen Date: Sun, 21 Feb 2010 01:05:12 +0000 (-0800) Subject: Increase ophandle expiration times, per #577 X-Git-Tag: allmydata-tahoe-1.6.1~24 X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=e9b59a4949d3237a76a98aeeb39a148ec5a9f868;p=tahoe-lafs%2Ftahoe-lafs.git Increase ophandle expiration times, per #577 --- 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