-
Niklas Hambuechen authored
This implements the "Ad-Hoc Rate Limiting" part of the design specified in doc/design-optables.rst. The current implementation does not try to cache how many slots are free per bucket since the number of running jobs is typically small (< 100). Signed-off-by: Niklas Hambuechen <niklash@google.com> Signed-off-by: Petr Pudlak <pudlak@google.com> Reviewed-by: Klaus Aehlig <aehlig@google.com> Reviewed-by: Petr Pudlak <pudlak@google.com>
6cd1f9ef