Skip to content
Snippets Groups Projects
Commit d35ba519 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

misc/coverage: Bump cache timeout from 5 minutes to 1 hour

Updating origin type counters in coverage widget every hour seems
more reasonable that doing it every 5 minutes as the underlying
database requests are pretty costly.
parent bdee9fe4
No related branches found
No related tags found
1 merge request!786misc/coverage: Bump cache timeout from 5 minutes to 1 hour
......@@ -230,7 +230,7 @@ deposited_origins: Dict[str, Any] = {
],
}
_cache_timeout = 5 * 60
_cache_timeout = 60 * 60 # one hour
def _get_listers_metrics(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment