Kaydet (Commit) 66612ef5 authored tarafından Malcolm Tredinnick's avatar Malcolm Tredinnick

Fixed #6413 -- Fixed a deadlock situation in the locmem culling implementation.

Thanks, Joe Holloway.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 108b604b
......@@ -107,7 +107,7 @@ class CacheClass(BaseCache):
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment