Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/cache/backends/locmem.py
2  django/core/cache/backends/locmem.py
@@ -107,7 +107,7 @@ def _cull(self):
107 107
         else:
108 108
             doomed = [k for (i, k) in enumerate(self._cache) if i % self._cull_frequency == 0]
109 109
             for k in doomed:
110  
-                self.delete(k)
  110
+                self._delete(k)
111 111
 
112 112
     def _delete(self, key):
113 113
         try:

0 notes on commit 66612ef

Please sign in to comment.
Something went wrong with that request. Please try again.