diff --git a/oyster/celeryconfig.py b/oyster/celeryconfig.py index 2ca16b9..c0d6aa4 100644 --- a/oyster/celeryconfig.py +++ b/oyster/celeryconfig.py @@ -1,13 +1,3 @@ from oyster.conf import settings CELERY_IMPORTS = ['oyster.tasks'] + list(settings.CELERY_TASK_MODULES) - -BROKER_TRANSPORT = 'mongodb' -BROKER_HOST = settings.MONGO_HOST -BROKER_PORT = settings.MONGO_PORT - -CELERY_RESULT_BACKEND = 'mongodb' -CELERY_MONGODB_BACKEND_SETTINGS = { - 'host': settings.MONGO_HOST, - 'port': settings.MONGO_PORT, -} diff --git a/oyster/tasks.py b/oyster/tasks.py index 873f05e..a7891be 100644 --- a/oyster/tasks.py +++ b/oyster/tasks.py @@ -22,6 +22,7 @@ class UpdateTaskScheduler(PeriodicTask): # 60s tick run_every = 60 + ignore_result = True def run(self): # if the update queue isn't empty, wait to add more