Show rate limit algorithm. Fixes #2136

rate_limit_algorithm_desc
Dessalines 2022-03-18 11:26:16 -04:00 committed by Dessalines
parent a10bf7d410
commit 4e6d901649
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ impl RateLimiter {
} }
} }
/// Rate limiting Algorithm described here: https://stackoverflow.com/a/668327/1655478
#[allow(clippy::float_cmp)] #[allow(clippy::float_cmp)]
pub(super) fn check_rate_limit_full( pub(super) fn check_rate_limit_full(
&mut self, &mut self,