Skip to main content

Module rate_limit

Module rate_limit 

Source

Functions§

limited_chunk_size 🔒
Get the rate-limited max chunk size.
rate_limited_pieces 🔒
Yield chunk under the limiter’s current policy, split into pieces no larger than the rate so that a policy update takes effect within about a second.