mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing search indexer background task for new celery.
This commit is contained in:
parent
aff7d09962
commit
fca0f68761
2 changed files with 1 additions and 6 deletions
|
@ -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]
|
||||
|
|
|
@ -226,11 +226,6 @@ LOGGING = {
|
|||
'level': 'INFO',
|
||||
'propagate': True,
|
||||
},
|
||||
'gunicorn.errors': {
|
||||
'level': 'DEBUG',
|
||||
'handlers': ['console', 'log_file'],
|
||||
'propagate': True,
|
||||
},
|
||||
# 'raven': {
|
||||
# 'level': 'DEBUG',
|
||||
# 'handlers': ['console'],
|
||||
|
|
Loading…
Add table
Reference in a new issue