mirror of https://github.com/LemmyNet/lemmy.git
Merge pull request #2138 from LemmyNet/rate_limit_algorithm_desc
Show rate limit algorithm. Fixes #2136update-pictrs
commit
0c63dbafb6
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue