From f54990a50200b87a33b9ce72c51eebb9551c770a Mon Sep 17 00:00:00 2001 From: ModulatingForce <116608425+modulatingforce@users.noreply.github.com> Date: Tue, 19 Mar 2024 18:01:34 -0400 Subject: [PATCH] smol enh to ratelimiter --- src/core/ratelimiter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ratelimiter.rs b/src/core/ratelimiter.rs index 6d256e8..4de77bc 100644 --- a/src/core/ratelimiter.rs +++ b/src/core/ratelimiter.rs @@ -59,7 +59,7 @@ impl RateLimiter { } else { // when elapsed() < TIME_THRESHOLD_S && msgcounter >= MSG_THRESHOLD // LimiterResp::Skip - LimiterResp::Sleep(TIME_MIN_S_F64 - self.lastmsgtimer.elapsed().as_secs_f64()) + LimiterResp::Sleep(TIME_MIN_S_F64 - self.lastmsgtimer.elapsed().as_secs_f64() + 0.1) }; botlog::trace(