3

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

4

1 回答 1

0

From the author's mouth: 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

于 2014-08-25T23:47:33.570 回答