From d1101a2949d27012137da11019f4fe66bc2f6044 Mon Sep 17 00:00:00 2001 From: James Turk Date: Mon, 13 Feb 2012 18:48:54 -0500 Subject: [PATCH] fix kernel update_queue task --- oyster/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oyster/tasks.py b/oyster/tasks.py index 9766ed7..5afa509 100644 --- a/oyster/tasks.py +++ b/oyster/tasks.py @@ -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):