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:
e19564d
)
diskwatcher.tac: reduce the polling rate to once per hour
author
Brian Warner
<warner@lothar.com>
Thu, 7 Aug 2008 06:20:21 +0000
(23:20 -0700)
committer
Brian Warner
<warner@lothar.com>
Thu, 7 Aug 2008 06:20:21 +0000
(23:20 -0700)
misc/spacetime/diskwatcher.tac
patch
|
blob
|
history
diff --git
a/misc/spacetime/diskwatcher.tac
b/misc/spacetime/diskwatcher.tac
index e4cef490722c5c8f96e33de7b0dcbb3b39fb70b3..15e5d47f45275332d1908a7e81b499fc95a58504 100644
(file)
--- a/
misc/spacetime/diskwatcher.tac
+++ b/
misc/spacetime/diskwatcher.tac
@@
-60,10
+60,10
@@
MONTH = 30*DAY
YEAR = 365*DAY
class DiskWatcher(service.MultiService, resource.Resource):
- POLL_INTERVAL =
60#
1*HOUR
- AVERAGES = {"60s": 60,
- "5m": 5*60,
- "30m": 30*60,
+ POLL_INTERVAL = 1*HOUR
+ AVERAGES = {
#
"60s": 60,
+
#
"5m": 5*60,
+
#
"30m": 30*60,
"1hr": 1*HOUR,
"1day": 1*DAY,
"2wk": 2*WEEK,