diff options
Diffstat (limited to 'samplejobs')
-rwxr-xr-x | samplejobs/BWAuthChecker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samplejobs/BWAuthChecker.py b/samplejobs/BWAuthChecker.py index 2b88e95..de3a86e 100755 --- a/samplejobs/BWAuthChecker.py +++ b/samplejobs/BWAuthChecker.py @@ -26,8 +26,8 @@ class BWAuthChecker(JobBase.JobBase): else: then = datetime.datetime.utcfromtimestamp(int(lines[0])) now = datetime.datetime.utcfromtimestamp(time.time()) - if now - then > datetime.timedelta(hours=2): - body = "The bandwidth file is more than 2 hours old.\n" + if now - then > datetime.timedelta(hours=3): + body = "The bandwidth file is more than 3 hours old.\n" body += str((now-then).seconds / 60) + " minutes old.\n" elif len(lines) < 8800: body = "The bandwidth file has a low number of relays: " + str(len(lines)) + "\n" |