Fixing search indexer background task for new celery.

This commit is contained in:
Samuel Clay 2020-12-07 16:36:17 -05:00
parent aff7d09962
commit fca0f68761
2 changed files with 1 additions and 6 deletions

View file

@ -78,7 +78,7 @@ class MUserSearch(mongo.Document):
logging.user(user, "~FCIndexing ~SB%s feeds~SN in %s chunks..." %
(total, len(feed_id_chunks)))
tasks = [IndexSubscriptionsChunkForSearch().s(feed_ids=feed_id_chunk,
tasks = [IndexSubscriptionsChunkForSearch.s(feed_ids=feed_id_chunk,
user_id=self.user_id
).set(queue='search_indexer')
for feed_id_chunk in feed_id_chunks]

View file

@ -226,11 +226,6 @@ LOGGING = {
'level': 'INFO',
'propagate': True,
},
'gunicorn.errors': {
'level': 'DEBUG',
'handlers': ['console', 'log_file'],
'propagate': True,
},
# 'raven': {
# 'level': 'DEBUG',
# 'handlers': ['console'],