mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:29:22 +02:00
Fixed broken cacheops
This commit is contained in:
parent
ed0fda03f1
commit
5d5c2b9438
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ CACHEOPS_ENABLED = bool(CACHEOPS_DURATION)
|
|||
|
||||
if CACHEOPS_ENABLED:
|
||||
INSTALLED_APPS += ("cacheops",)
|
||||
CACHEOPS_REDIS = CACHE_URL
|
||||
CACHEOPS_REDIS = env("CACHE_URL", default=CACHE_DEFAULT)
|
||||
CACHEOPS_PREFIX = lambda _: "cacheops" # noqa
|
||||
CACHEOPS_DEFAULTS = {"timeout": CACHEOPS_DURATION}
|
||||
CACHEOPS = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue