Skip to content

Commit

Permalink
Merge pull request #399 from openedx/grmartin/timeout-docs
Browse files Browse the repository at this point in the history
fix: Update documentation on cache timeout to specify secs
  • Loading branch information
grmartin committed Mar 20, 2024
2 parents 53ec88a + b07baff commit 904474b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edx_django_utils/cache/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ def set_all_tiers(key, value, django_cache_timeout=DEFAULT_TIMEOUT):
if and for how long to cache in the django cache. A timeout of
0 will skip the django cache. If timeout is provided, use that
timeout for the key; otherwise use the default cache timeout.
(in seconds)
"""
DEFAULT_REQUEST_CACHE.set(key, value)
Expand Down

0 comments on commit 904474b

Please sign in to comment.