Skip to content
Snippets Groups Projects
Verified Commit d994a221 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Try to fix enqueue_task

parent 0ca9de8b
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ def enqueue_task(queue, **kwargs):
options['countdown'] = settings.CELERY_HAYSTACK_COUNTDOWN
task = get_update_task()
task_func = lambda: task.apply_async(queue, kwargs, **options)
task_func = lambda: task.apply_async((queue,), kwargs, **options)
if hasattr(transaction, 'on_commit'):
# Django 1.9 on_commit hook
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment