mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
caches: Remove unnecessary "in-memory" cache.
This cache was added in da33b72848 to serve as a replacement for the
durable database cache, in development; the previous commit has
switched that to be the non-durable memcached backend.
The special-case for "in-memory" in development is mostly-unnecessary
in contrast to memcached -- `./tools/run-dev.py` flushes memcached on
every startup. This differs in behaviour slightly, in that if the
codepath is changed and `run-dev` restarts Django, the cache is not
cleared. This seems an unlikely occurrence, however, and the code
cleanup from its removal is worth it.
This commit is contained in:
committed by
Tim Abbott
parent
04ca2e92f7
commit
56058f3316
@@ -361,9 +361,6 @@ CACHES = {
|
||||
"CULL_FREQUENCY": 10,
|
||||
},
|
||||
},
|
||||
"in-memory": {
|
||||
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
|
||||
},
|
||||
}
|
||||
|
||||
########################################################################
|
||||
|
||||
Reference in New Issue
Block a user