mirror of https://github.com/zulip/zulip.git
django-pylibmc: Add dependancy and use as cache backend for memcached.
This commit is contained in:
parent
ba55d22fdb
commit
998fb038a9
|
@ -108,6 +108,9 @@ pycrypto==2.6.1
|
|||
# Needed for memcached usage
|
||||
pylibmc==1.5.2
|
||||
|
||||
# Needed for compression support in memcached via pylibmc
|
||||
django-pylibmc==0.6.1
|
||||
|
||||
# Needed for zerver/tests/test_timestamp.py
|
||||
python-dateutil==2.6.1
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@ django-formtools==2.1 # via django-two-factor-auth
|
|||
django-otp==0.4.1.1 # via django-two-factor-auth
|
||||
django-phonenumber-field==1.3.0 # via django-two-factor-auth
|
||||
django-pipeline==1.6.14
|
||||
django-pylibmc==0.6.1
|
||||
django-sendfile==0.3.11
|
||||
django-statsd-mozilla==0.4.0
|
||||
django-two-factor-auth==1.7.0
|
||||
|
|
|
@ -38,6 +38,7 @@ django-formtools==2.1 # via django-two-factor-auth
|
|||
django-otp==0.4.1.1 # via django-two-factor-auth
|
||||
django-phonenumber-field==1.3.0 # via django-two-factor-auth
|
||||
django-pipeline==1.6.14
|
||||
django-pylibmc==0.6.1
|
||||
django-sendfile==0.3.11
|
||||
django-statsd-mozilla==0.4.0
|
||||
django-two-factor-auth==1.7.0
|
||||
|
|
|
@ -8,4 +8,4 @@ ZULIP_VERSION = "1.8.1+git"
|
|||
# Typically, adding a dependency only requires a minor version bump, and
|
||||
# removing a dependency requires a major version bump.
|
||||
|
||||
PROVISION_VERSION = '20.9'
|
||||
PROVISION_VERSION = '20.10'
|
||||
|
|
|
@ -613,7 +613,7 @@ SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
|
|||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
|
||||
'BACKEND': 'django_pylibmc.memcached.PyLibMCCache',
|
||||
'LOCATION': MEMCACHED_LOCATION,
|
||||
'TIMEOUT': 3600,
|
||||
'OPTIONS': {
|
||||
|
|
Loading…
Reference in New Issue