mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Skip indexing things that have only been voted on
This commit is contained in:
@@ -672,7 +672,7 @@ def run_changed(drain=False):
|
||||
print "changed: Processing %d items" % len(msgs)
|
||||
msgs = [strordict_fullname(msg.body)
|
||||
for msg in msgs]
|
||||
fullnames = set(msg['fullname'] for msg in msgs)
|
||||
fullnames = set(msg['fullname'] for msg in msgs if not msg.get('boost_only'))
|
||||
|
||||
things = Thing._by_fullname(fullnames, data=True, return_dict=False)
|
||||
things = [x for x in things if isinstance(x, indexed_types)]
|
||||
|
||||
Reference in New Issue
Block a user