diskwatcher.tac: reduce the polling rate to once per hour

This commit is contained in:
Brian Warner 2008-08-06 23:20:21 -07:00
parent e19564df59
commit 7502971df6

View File

@ -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,