another attempt to fix intermediate failure
This commit is contained in:
parent
7a95abc6c0
commit
fd942a8d7e
@ -216,7 +216,7 @@ def main():
|
|||||||
# Failure
|
# Failure
|
||||||
if previous_runs:
|
if previous_runs:
|
||||||
# Not the first failure...
|
# Not the first failure...
|
||||||
oldest = datetime.datetime.fromtimestamp(min(previous_runs.values()))
|
oldest = min(previous_runs.values())
|
||||||
delta = datetime.timedelta(seconds=args.warn_interval)
|
delta = datetime.timedelta(seconds=args.warn_interval)
|
||||||
diff = now-oldest
|
diff = now-oldest
|
||||||
if diff > delta:
|
if diff > delta:
|
||||||
|
Loading…
Reference in New Issue
Block a user