mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
diskwatcher.tac: reduce the polling rate to once per hour
This commit is contained in:
parent
e19564df59
commit
7502971df6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user