Shrink capacity in `RateLimitStorage::remove_older_than` (#3536)
authordullbananas <dull.bananas0@gmail.com>
Mon, 10 Jul 2023 20:52:37 +0000 (13:52 -0700)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 20:52:37 +0000 (22:52 +0200)
commit73492af4b09448684ffde3d55454434ec3ed490b
tree135cd5b70271ef981a1ca1bec4a005975f3f4a5d
parentef9dc5d0b6f727cc78ab4df214e6e65ec77c3b9e
Shrink capacity in `RateLimitStorage::remove_older_than` (#3536)

* Shrink capacity in `RateLimitStorage::remove_older_than`

* Update rate_limiter.rs

* rerun ci

* rerun ci

* rerun ci

* Update rate_limiter.rs
crates/utils/src/rate_limit/rate_limiter.rs