]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
diskwatcher.tac: reduce the polling rate to once per hour
authorBrian Warner <warner@lothar.com>
Thu, 7 Aug 2008 06:20:21 +0000 (23:20 -0700)
committerBrian Warner <warner@lothar.com>
Thu, 7 Aug 2008 06:20:21 +0000 (23:20 -0700)
misc/spacetime/diskwatcher.tac

index e4cef490722c5c8f96e33de7b0dcbb3b39fb70b3..15e5d47f45275332d1908a7e81b499fc95a58504 100644 (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,