From c461f5efc30fc0b255f4c2ff8940e2b9d310eaf1 Mon Sep 17 00:00:00 2001 From: garret Date: Fri, 5 Jul 2024 14:52:56 +0100 Subject: half an hour is probably a more reasonable timeout --- fetch-status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetch-status.py') diff --git a/fetch-status.py b/fetch-status.py index 7ba3934..286ffd3 100755 --- a/fetch-status.py +++ b/fetch-status.py @@ -38,7 +38,7 @@ cur.execute(""" """) con.commit() -CACHE_TIMEOUT = 3600 +CACHE_TIMEOUT = 1800 cached_result = cur.execute("""SELECT content, check_status FROM statuses WHERE profile_id=? AND last_checked > ?""", -- cgit v1.2.3-70-g09d2