Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #6413 -- Fixed a deadlock situation in the locmem culling imple…

…mentation.

Thanks, Joe Holloway.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 66612ef52996f06be3e94fff0b1ef015d462581d 1 parent 108b604
Malcolm Tredinnick malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/cache/backends/locmem.py
2  django/core/cache/backends/locmem.py
View
@@ -107,7 +107,7 @@ def _cull(self):
else:
doomed = [k for (i, k) in enumerate(self._cache) if i % self._cull_frequency == 0]
for k in doomed:
- self.delete(k)
+ self._delete(k)
def _delete(self, key):
try:
Please sign in to comment.
Something went wrong with that request. Please try again.