Create dynamic queues with Celery

后端 未结 2 558
耶瑟儿~
耶瑟儿~ 2021-02-01 20:06

Here\'s my scenario:

When a user logs in to my website, I queue up a bunch of tasks for the given user (typically each task takes 100s of msecs and there are 100s of tas

2条回答
  •  时光说笑
    2021-02-01 20:42

    You can dynamically assign a task to a Queue at runtime when invoking it refer calling.html#routing-options. This would work if you have CELERY_CREATE_MISSING_QUEUES enabled.

提交回复
热议问题