aboutsummaryrefslogtreecommitdiffstats
path: root/fetch-status.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2024-07-05 14:52:56 +0100
committergarret <garret@airmail.cc>2024-07-05 14:52:56 +0100
commitc461f5efc30fc0b255f4c2ff8940e2b9d310eaf1 (patch)
treeccd0cd3f218104891c2c72fb5d0486eb0a232cc4 /fetch-status.py
parenta2a32acf8c1f5802b79e49069992e70dead7f25e (diff)
downloadagora-status-c461f5efc30fc0b255f4c2ff8940e2b9d310eaf1.tar.gz
agora-status-c461f5efc30fc0b255f4c2ff8940e2b9d310eaf1.tar.bz2
agora-status-c461f5efc30fc0b255f4c2ff8940e2b9d310eaf1.zip
half an hour is probably a more reasonable timeout
Diffstat (limited to 'fetch-status.py')
-rwxr-xr-xfetch-status.py2
1 files changed, 1 insertions, 1 deletions
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 > ?""",