A Throttled_rate_limiter
combines a Token_bucket
and a Throttle
. Unlike a
Token_bucket
jobs cannot consume variable numbers of tokens, but the number
of outstanding jobs is also limited to max_concurrent_jobs
. Like a Throttle
finish_job
must be called once, and only once when a job is completed.