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 13a6125 commit 87ee7c4Copy full SHA for 87ee7c4
django_elastipymemcache/memcached.py
@@ -91,6 +91,11 @@ def _cache(self):
91
92
return self._client
93
94
+ def close(self, **kwargs):
95
+ # libmemcached manages its own connections. Don't call disconnect_all()
96
+ # as it resets the failover state and creates unnecessary reconnects.
97
+ pass
98
+
99
@invalidate_cache_after_error
100
def get(self, *args, **kwargs):
101
return super(ElastiPyMemCache, self).get(*args, **kwargs)
0 commit comments