From fb2d0ef7d1f9eaa20901c2844cd80daa86b4b12f Mon Sep 17 00:00:00 2001 From: db123 Date: Wed, 24 Jun 2026 11:39:47 +0330 Subject: [PATCH] chore: changed the rate limit down to 1 second instead of 2 --- internal/bot/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bot/handlers.go b/internal/bot/handlers.go index fb984fe..64c0ebd 100644 --- a/internal/bot/handlers.go +++ b/internal/bot/handlers.go @@ -11,7 +11,7 @@ import ( "worktimeBot/internal/db" ) -const rateLimitInterval = 2 * time.Second +const rateLimitInterval = 1 * time.Second // Handler holds the bot instance, database store, user allowlist, and rate-limit state. type Handler struct {