We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f93c06 commit 6728c13Copy full SHA for 6728c13
django_elasticache/memcached.py
@@ -5,6 +5,7 @@
5
from functools import wraps
6
from django.core.cache import InvalidCacheBackendError
7
from django.core.cache.backends.memcached import PyLibMCCache
8
+from threading import local
9
from .cluster_utils import get_cluster_info
10
11
@@ -28,6 +29,7 @@ class ElastiCache(PyLibMCCache):
28
29
it used pylibmc in binary mode
30
"""
31
def __init__(self, server, params):
32
+ self._local = local()
33
self.update_params(params)
34
super(ElastiCache, self).__init__(server, params)
35
if len(self._servers) > 1:
0 commit comments