aboutsummaryrefslogtreecommitdiff
path: root/app/taskqueue/tasks.py
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2015-01-29 15:44:37 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2015-01-29 15:44:37 +0100
commit3c16d9afa32888f9c28b68c4698d8d60ac809715 (patch)
treec0696a7604e3102984e9c49598498373329e42dc /app/taskqueue/tasks.py
parent877b167fcfb10b6b715613a07d35b35a541c67a1 (diff)
Ignore all celery results.
Change-Id: I4af1ad3d39fbeb859180db1d4914ea82882d2ddc
Diffstat (limited to 'app/taskqueue/tasks.py')
-rw-r--r--app/taskqueue/tasks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/taskqueue/tasks.py b/app/taskqueue/tasks.py
index 3f70373..65f8901 100644
--- a/app/taskqueue/tasks.py
+++ b/app/taskqueue/tasks.py
@@ -43,7 +43,7 @@ def send_emails(job_id):
pass
-@taskc.app.task(name='import-job', ignore_result=True)
+@taskc.app.task(name="import-job")
def import_job(json_obj, db_options):
"""Just a wrapper around the real import function.
@@ -58,7 +58,7 @@ def import_job(json_obj, db_options):
utils.docimport.import_and_save_job(json_obj, db_options)
-@taskc.app.task(name='import-boot', ignore_result=True)
+@taskc.app.task(name="import-boot")
def import_boot(json_obj, db_options):
"""Just a wrapper around the real boot import function.
@@ -73,7 +73,7 @@ def import_boot(json_obj, db_options):
utils.bootimport.import_and_save_boot(json_obj, db_options)
-@taskc.app.task(name='batch-executor')
+@taskc.app.task(name="batch-executor")
def execute_batch(json_obj, db_options):
"""Run batch operations based on the passed JSON object.