mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Speeding up user search feed removal.
This commit is contained in:
parent
fd597db17b
commit
b8547a6e40
1 changed files with 2 additions and 0 deletions
|
@ -169,6 +169,8 @@ class MUserSearch(mongo.Document):
|
|||
feed = sub.feed
|
||||
except Feed.DoesNotExist:
|
||||
continue
|
||||
if not feed.search_indexed:
|
||||
continue
|
||||
feed.search_indexed = False
|
||||
feed.save()
|
||||
removed += 1
|
||||
|
|
Loading…
Add table
Reference in a new issue