Skip to content

Commit

Permalink
Comment out debug line in ratelimit.rs for load multiplier calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchinchilla committed May 3, 2024
1 parent 837bfd2 commit 8722fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binaries/geph5-exit/src/ratelimit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl RateLimiter {
return;
}
let multiplier = (1.0 / (1.0 - get_load().min(0.999)) - 1.0) / 2.0;
tracing::debug!(multiplier, "got multiplier");
// tracing::debug!(multiplier, "got multiplier");
let bytes = bytes as f32 * (multiplier.max(1.0));
if let Some(inner) = &self.inner {
while inner
Expand Down

0 comments on commit 8722fb2

Please sign in to comment.