From 25ecdec9971394064063db397232eb7f0e89fae3 Mon Sep 17 00:00:00 2001 From: vijeth-aradhya Date: Mon, 12 Jun 2017 20:53:23 +0530 Subject: Add priority to the celery tasks Few more changes to be made before executing the tasks. Also #1 should be handled soon after this. --- mediagoblin/submit/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mediagoblin/submit/lib.py') diff --git a/mediagoblin/submit/lib.py b/mediagoblin/submit/lib.py index 402eb851..1c78f73a 100644 --- a/mediagoblin/submit/lib.py +++ b/mediagoblin/submit/lib.py @@ -267,7 +267,7 @@ def run_process_media(entry, feed_url=None, entry, manager = get_entry_and_processing_manager(entry.id) try: - manager.workflow(entry, feed_url, reprocess_action, reprocess_info) + manager.workflow(entry, manager, feed_url, reprocess_action, reprocess_info) except BaseException as exc: # The purpose of this section is because when running in "lazy" # or always-eager-with-exceptions-propagated celery mode that -- cgit v1.2.3