mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Fixing redis issue with existing keys beyond a RESTORE.
This commit is contained in:
parent
61bd28c503
commit
6d7568a6e1
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ class UserSubscription(models.Model):
|
|||
|
||||
dump = r.dump(unread_ranked_stories_key)
|
||||
if dump:
|
||||
rt.delete(unread_ranked_stories_key)
|
||||
rt.restore(unread_ranked_stories_key, 1*60*60, dump)
|
||||
r.delete(unread_ranked_stories_key)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue