Change to 60m
Some checks failed
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/vulnerability-scan Pipeline was successful
ci/woodpecker/pull_request_closed/lint Pipeline was successful
ci/woodpecker/pull_request_closed/vulnerability-scan Pipeline failed

This commit is contained in:
Liam Steckler 2024-10-27 12:27:53 -07:00
parent 702161e1de
commit fc8195b15f

4
scl.py
View file

@ -336,8 +336,8 @@ with Session(engine) as session:
) )
/ 60 / 60
) )
# Only post if estimated restoration time has changed by 30m or more # Only post if estimated restoration time has changed by 60m or more
if est_restoration_diff_mins >= 30: if est_restoration_diff_mins >= 60:
existing_record.estimated_restoration_time = estimated_restoration_time existing_record.estimated_restoration_time = estimated_restoration_time
if estimated_restoration_time > datetime.now(): if estimated_restoration_time > datetime.now():
# New estimated restoration time is in the future, so likely to be a real time # New estimated restoration time is in the future, so likely to be a real time