diff --git a/fail-overdue.py b/fail-overdue.py index b6043f7..32d1945 100644 --- a/fail-overdue.py +++ b/fail-overdue.py @@ -36,7 +36,7 @@ def main(args): check_timeout = check["attrs"]["check_timeout"] or args.default_timeout # If the check is overdue. - if current_time - last_check_time > check_interval + check_timeout: + if current_time - last_check_time > check_interval + check_timeout + 60: headers = {'Accept': 'application/json', 'Content-Type': 'application/json'} next_check_time = last_check_time + check_interval + check_timeout