procrastinate icon indicating copy to clipboard operation
procrastinate copied to clipboard

rate_limit usage for Task queue

Open kalaomer opened this issue 10 months ago • 1 comments
trafficstars

Hi,

Is there any way for rate_limit on task queue? Celery doing this with rate_limit param. Here is the link.

kalaomer avatar Jan 14 '25 23:01 kalaomer

Hi @kalaomer. Yes, that would be a nice feature. But maybe we can implement it in a more general way. We recently discussed a middleware feature and this could help with rate limiting, too. Depending on how the middleware is implemented by the user it could even work across multiple workers.

medihack avatar Jan 16 '25 15:01 medihack