diff --git a/Cargo.lock b/Cargo.lock index 8056e50..1dc41e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -688,9 +688,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", diff --git a/src/db_redis/ratelimit.rs b/src/db_redis/ratelimit.rs index 7a07b78..852fc97 100644 --- a/src/db_redis/ratelimit.rs +++ b/src/db_redis/ratelimit.rs @@ -23,7 +23,7 @@ impl RateLimit { if let Some(count) = redis.get::, &str>(&self.key).await? { redis.incr(&self.key).await?; if count >= UPPER_LIMIT { - // Only show the count if is multiple of the upper limit + // Only show the count if is multiple of the upper limit if count % UPPER_LIMIT == 0 { tracing::info!("{} - {count}", self.key); }