Rate Limits¶
-
class
rate_limited_queue.
RateLimit
(duration=1, max_per_interval=5)[source]¶ The only arguments provided are the duration and the max number of items to process per interval.
Parameters: - duration (positive integer or float) – The duration (in seconds) for this interval
- max_per_interval (positive integer) – The maximum number of items to be processed per interval.