Celery: Callback after task hierarchy

后端 未结 2 1084
误落风尘
误落风尘 2021-01-12 02:39

I\'m using Celery from a webapp to start a task hierarchy.

Tasks

I\'m using the following tasks:

  • task_a
  • task_b
2条回答
  •  梦谈多话
    2021-01-12 03:07

    The solution turned out to be the dynamic task feature provided in this pull request: https://github.com/celery/celery/pull/817. With this, each task can return a group of subtasks, which will then replace the original taks in the queue.

提交回复
热议问题