python-arq/arq

Time based Queue. Handling X jobs per minute.

waseemhnyc opened this issue · 1 comments

How could you limit the number of jobs you are processing per a set time frame.
For example I'd only like to have 60 jobs run per minute.
This is helpful if you'd like to do something where you track the number of API calls you are making to avoid running in to rate limiting issues.

There's a few ways to solve this, either by limiting a worker max concurrent jobs, or by using libraries such as redis-rate-limiters.