fix kernel update_queue task

This commit is contained in:
James Turk 2012-02-13 18:48:54 -05:00
parent 87462beaf5
commit d1101a2949

View File

@ -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):