Add SwitchOptions and MaxTotalQueueSize

This commit is contained in:
Neil Alexander 2018-12-02 22:49:27 +00:00
parent 05b07adba2
commit 86da073226
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
6 changed files with 34 additions and 22 deletions

View file

@ -69,6 +69,7 @@ func generateConfig(isAutoconf bool) *nodeConfig {
cfg.SessionFirewall.Enable = false
cfg.SessionFirewall.AllowFromDirect = true
cfg.SessionFirewall.AllowFromRemote = true
cfg.SwitchOptions.MaxTotalQueueSize = 4 * 1048576
return &cfg
}