From 7ada3c6a3ae98447be79d2245adc8f652e1a2bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Kokelj?= Date: Tue, 6 Aug 2024 12:03:20 +0200 Subject: [PATCH] fix comment --- tools/walletextension/ratelimiter/rate_limiter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/walletextension/ratelimiter/rate_limiter.go b/tools/walletextension/ratelimiter/rate_limiter.go index 6418f0e5e1..05103b46f6 100644 --- a/tools/walletextension/ratelimiter/rate_limiter.go +++ b/tools/walletextension/ratelimiter/rate_limiter.go @@ -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)