Skip to content

Commit ba55d13

Browse files
committed
Address copilot comments
1 parent 6f27ea1 commit ba55d13

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

webapp/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ def allow_src(tag, name, value):
11341134
api=DiscourseAPI(
11351135
base_url="https://discourse.dqlite.io/",
11361136
session=discourse_session,
1137-
cache=ubuntu_discourse_cache,
1137+
cache=None,
11381138
),
11391139
index_topic_id=34,
11401140
url_prefix="/dqlite/docs",

webapp/utils/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
# it can be hidden on the Candidate Dash.
77
SECOND_LOOK_REQ_ID = 3013911
88

9-
# Default time-to-live for ResponseCache instances, in seconds (24 hours)
9+
# Default time-to-live for ResponseCache instances, in seconds (1 hour)
1010
CACHE_TTL = 60 * 60

0 commit comments

Comments
 (0)