Browse Source

Chains no longer worked if a chord was the last step

Ask Solem 12 years ago
parent
commit
4b4d75409e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/app/builtins.py

+ 1 - 1
celery/app/builtins.py

@@ -201,7 +201,7 @@ def add_chain_task(app):
                     except IndexError:
                         next_step = None
                 if next_step is not None:
-                    task = chord(task, body=next_step)
+                    task = chord(task, body=next_step, task_id=tid)
                 if prev_task:
                     # link previous task to this task.
                     prev_task.link(task)