mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 08:09:16 +02:00
Disabled cacheops by default
This commit is contained in:
parent
cad4c9f923
commit
ae0f7588e4
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ CACHES["default"]["OPTIONS"] = {
|
|||
"IGNORE_EXCEPTIONS": True, # mimics memcache behavior.
|
||||
# http://niwinz.github.io/django-redis/latest/#_memcached_exceptions_behavior
|
||||
}
|
||||
CACHEOPS_DURATION = env("CACHEOPS_DURATION", default=100)
|
||||
CACHEOPS_DURATION = env("CACHEOPS_DURATION", default=0)
|
||||
CACHEOPS_ENABLED = bool(CACHEOPS_DURATION)
|
||||
|
||||
if CACHEOPS_ENABLED:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue