Skip to content

Commit

Permalink
chores: dependencies updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed May 6, 2024
1 parent 3deb901 commit f0f604d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/db_redis/ratelimit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl RateLimit {
if let Some(count) = redis.get::<Option<u64>, &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);
}
Expand Down

0 comments on commit f0f604d

Please sign in to comment.