1
0
Fork 0
forked from External/ergo

default fakelag to off, add explicit cooldown config

This commit is contained in:
Shivaram Lingamneni 2018-03-28 13:18:08 -04:00
parent 1bf5e2a7c8
commit 36018174b0
5 changed files with 16 additions and 11 deletions

View file

@ -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.