fix kernel update_queue task
This commit is contained in:
parent
87462beaf5
commit
d1101a2949
@ -36,7 +36,7 @@ class UpdateTaskScheduler(PeriodicTask):
|
||||
next_set = kernel.get_update_queue()
|
||||
for doc in next_set:
|
||||
UpdateTask.delay(doc['_id'])
|
||||
kernel.status.update({}, {'$inc': {'update_queue': 1}})
|
||||
kernel.db.status.update({}, {'$inc': {'update_queue': 1}})
|
||||
|
||||
|
||||
class ExternalStoreTask(Task):
|
||||
|
Loading…
Reference in New Issue
Block a user