chore: changed the rate limit down to 1 second instead of 2

This commit is contained in:
2026-06-24 11:39:47 +03:30
parent a8b849f8fd
commit fb2d0ef7d1

View File

@@ -11,7 +11,7 @@ import (
"worktimeBot/internal/db" "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. // Handler holds the bot instance, database store, user allowlist, and rate-limit state.
type Handler struct { type Handler struct {