具有多种速率限制的芹菜

时间:2013-10-07 19:24:16

标签: celery django-celery

芹菜可以处理多个并发速率限制吗?我的任务每秒运行时间不超过10次,每天不超过100,000次,但我认为文档只支持一次速率限制。作为一个短期的黑客,我可以限制任务并对工人施加不同的限制,但担心多个工人会发生什么。

1 个答案:

答案 0 :(得分:0)

来自作者的口:nope

bwarren2: Is it possible to have multiple rate limits in effect on a task? For example, I have a task that should not run more than 100K times in a day, and not more than 10/s. Is this possible? — ask [Owner]: That's not possible, unless you extend the implementation of TokenBucket