Skip to content
Snippets Groups Projects
Verified Commit ae0f7588 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Disabled cacheops by default

parent cad4c9f9
No related branches found
Tags 0.21-rc2
No related merge requests found
......@@ -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:
......
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