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
This commit is contained in:
Malcolm Tredinnick 2008-07-26 05:27:59 +00:00
parent 108b604b51
commit 66612ef529
1 changed files with 1 additions and 1 deletions

View File

@ -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: