mirror of
https://github.com/ergochat/ergo.git
synced 2026-01-10 04:12:06 -08:00
enforce max-keys
This commit is contained in:
parent
2275bed000
commit
db4b23bb48
5 changed files with 33 additions and 2 deletions
|
|
@ -728,7 +728,7 @@ type Config struct {
|
|||
Enabled bool
|
||||
MaxSubs int `yaml:"max-subs"`
|
||||
MaxKeys int `yaml:"max-keys"`
|
||||
MaxValueBytes int `yaml:"max-value-length"`
|
||||
MaxValueBytes int `yaml:"max-value-length"` // todo: currently unenforced!!
|
||||
}
|
||||
|
||||
WebPush struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue