Created
December 13, 2014 01:27
-
-
Save dterei/d58b2ad3a5ce72ddb274 to your computer and use it in GitHub Desktop.
Django persistent memcached connection fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fix django closing connection to MemCachier after every request (#11331) | |
from django.core.cache.backends.memcached import BaseMemcachedCache | |
BaseMemcachedCache.close = lambda self, **kwargs: None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment