From ab112abeed1c7db34a19a3f5471418505f6771be Mon Sep 17 00:00:00 2001 From: Liam Steckler Date: Sun, 27 Oct 2024 12:30:44 -0700 Subject: [PATCH] quieter-restoration-time (#64) Closes #62 Reviewed-on: https://scm.gruezi.net/buckbanzai/seattlecitylight-mastodon-bot/pulls/64 --- scl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scl.py b/scl.py index c37f50c..b768461 100644 --- a/scl.py +++ b/scl.py @@ -336,8 +336,8 @@ with Session(engine) as session: ) / 60 ) - # Only post if estimated restoration time has changed by 30m or more - if est_restoration_diff_mins >= 30: + # Only post if estimated restoration time has changed by 60m or more + if est_restoration_diff_mins >= 60: existing_record.estimated_restoration_time = estimated_restoration_time if estimated_restoration_time > datetime.now(): # New estimated restoration time is in the future, so likely to be a real time