Skip to content

Commit

Permalink
Avoid potentially ambiguous usage caching setting.
Browse files Browse the repository at this point in the history
v2.19.1
  • Loading branch information
grosscol committed Mar 14, 2024
1 parent 6500a2d commit 5efa420
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bravo_api/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.19.0
2.19.1
2 changes: 1 addition & 1 deletion bravo_api/blueprints/status/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def usage() -> Response:
result = current_app.cache.get('usage')
if result is None:
result = usage_stats(current_app.mmongo.db)
current_app.cache.set('usage', result, timeout=0)
current_app.cache.set('usage', result, timeout=300)
return make_response(jsonify(result))


Expand Down

0 comments on commit 5efa420

Please sign in to comment.