diff options
author | garret <garret@airmail.cc> | 2024-07-05 14:52:56 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2024-07-05 14:52:56 +0100 |
commit | c461f5efc30fc0b255f4c2ff8940e2b9d310eaf1 (patch) | |
tree | ccd0cd3f218104891c2c72fb5d0486eb0a232cc4 /fetch-status.py | |
parent | a2a32acf8c1f5802b79e49069992e70dead7f25e (diff) | |
download | agora-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-x | fetch-status.py | 2 |
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 > ?""", |