Skip to content

Commit 717ba1a

Browse files
authored
Extend release dashboard cache timeout to 6m (#527)
1 parent 0f290c3 commit 717ba1a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

master/custom/release_dashboard.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99

1010
FAILED_BUILD_STATUS = 2
1111

12-
# Cache result for 5 minutes. Generating the page is slow and a Python build
13-
# takes at least 5 minutes, a common build takes 10 to 30 minutes.
14-
CACHE_DURATION = 5 * 60
12+
# Cache result for 6 minutes. Generating the page is slow and a Python build
13+
# takes at least 5 minutes, a common build takes 10 to 30 minutes. There is a
14+
# cronjob that forces a refresh every 5 minutes, so all human requests should
15+
# get a cache hit.
16+
CACHE_DURATION = 6 * 60
1517

1618

1719
def get_release_status_app(buildernames):

0 commit comments

Comments
 (0)