mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
Apply a bandaid for _dirties being stuck in memcached.
This commit is contained in:
@@ -418,6 +418,10 @@ class DataThing(object):
|
||||
bases[i] = items_db([i]).values()[0]
|
||||
bases[i]._cache_myself()
|
||||
|
||||
if bases[i] and bases[i]._dirties:
|
||||
g.log.error("Got _dirties back from the cache for %r. Cleaning up.", bases[i])
|
||||
bases[i]._dirties.clear()
|
||||
bases[i]._cache_myself()
|
||||
|
||||
if data:
|
||||
need = []
|
||||
|
||||
Reference in New Issue
Block a user