mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
default fakelag to off, add explicit cooldown config
This commit is contained in:
parent
1bf5e2a7c8
commit
36018174b0
5 changed files with 16 additions and 11 deletions
|
|
@ -194,6 +194,7 @@ type FakelagConfig struct {
|
|||
Window time.Duration
|
||||
BurstLimit uint `yaml:"burst-limit"`
|
||||
MessagesPerWindow uint `yaml:"messages-per-window"`
|
||||
Cooldown time.Duration
|
||||
}
|
||||
|
||||
// Config defines the overall configuration.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue