chore: changed the rate limit down to 1 second instead of 2
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user