projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a50fe
)
Increase ophandle expiration times, per #577
author
Kevan Carstensen
<kevan@isnotajoke.com>
Sun, 21 Feb 2010 01:05:12 +0000
(17:05 -0800)
committer
Kevan Carstensen
<kevan@isnotajoke.com>
Sun, 21 Feb 2010 01:05:12 +0000
(17:05 -0800)
src/allmydata/web/operations.py
patch
|
blob
|
history
diff --git
a/src/allmydata/web/operations.py
b/src/allmydata/web/operations.py
index 2466ecdaa584b6124e550f299e4cf4f550717684..7fbf8d2701f9e7a540da1140720e64c8d1af4d98 100644
(file)
--- 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 = 1
0*MINUTE
+ UNCOLLECTED_HANDLE_LIFETIME =
4*DAY
+ COLLECTED_HANDLE_LIFETIME = 1
*DAY
def __init__(self):
# both of these are indexed by ophandle