mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 10:33:54 +00:00
cache: Instantiate only one BMemcached cache backend.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Alex Vandiver
parent
52b9c59875
commit
c9faefd50e
@@ -340,7 +340,7 @@ MEMCACHED_PASSWORD = get_secret("memcached_password")
|
||||
|
||||
CACHES = {
|
||||
"default": {
|
||||
"BACKEND": "django_bmemcached.memcached.BMemcached",
|
||||
"BACKEND": "zerver.lib.singleton_bmemcached.SingletonBMemcached",
|
||||
"LOCATION": MEMCACHED_LOCATION,
|
||||
"OPTIONS": {
|
||||
"socket_timeout": 3600,
|
||||
|
||||
Reference in New Issue
Block a user