Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Aug 6, 2024
1 parent 16deaf7 commit 7ada3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/walletextension/ratelimiter/rate_limiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (rl *RateLimiter) PruneRequests() {
}
}

// periodically prunes the requests that have ended before the rate limiter's window every 10 * window milliseconds
// periodically prunes the requests that have ended before the rate limiter's window milliseconds
func (rl *RateLimiter) periodicPrune() {
for {
time.Sleep(rl.window / 2)
Expand Down

0 comments on commit 7ada3c6

Please sign in to comment.