Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a common atomic Rate Limiter implementation (#560)
* Provide a common atomic Rate Limiter implementation Signed-off-by: Bob Weinand <[email protected]> * Use proper high resolution monotonic timer on windows * Add minimal sleep for test stability * Disable shellcheck warning Signed-off-by: Bob Weinand <[email protected]> * Fix aftrer rebase * Validate rate() in test Signed-off-by: Bob Weinand <[email protected]> * Validate limit change in test Signed-off-by: Bob Weinand <[email protected]> * Work around floating point precision issues Signed-off-by: Bob Weinand <[email protected]> * Update rate_limiter.rs --------- Signed-off-by: Bob Weinand <[email protected]>
- Loading branch information