Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Sep 5, 2024
1 parent 0e88060 commit 73d6eb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust/capture/src/limiters/redis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl RedisLimiter {
updated,
redis,
redis_key_prefix: redis_key_prefix.unwrap_or_default(),
limiter_cache_key: limiter_cache_key,
limiter_cache_key,
})
}

Expand Down
4 changes: 2 additions & 2 deletions rust/capture/src/sinks/kafka.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ impl KafkaSink {
exceptions_topic: config.kafka_exceptions_topic,
heatmaps_topic: config.kafka_heatmaps_topic,
replay_overflow_topic: config.kafka_replay_overflow_topic,
replay_overflow_limiter: replay_overflow_limiter,
replay_overflow_limiter,
})
}

Expand Down Expand Up @@ -236,7 +236,7 @@ impl KafkaSink {
None => false,
Some(limiter) => {
limiter
.is_limited(&session_id, QuotaResource::Recordings)
.is_limited(session_id, QuotaResource::Recordings)
.await
}
};
Expand Down

0 comments on commit 73d6eb0

Please sign in to comment.