Enforce min 4MB switch queue total size

This commit is contained in:
Neil Alexander
2018-12-02 23:20:11 +00:00
parent 319457ae27
commit b5f4637b5c
4 changed files with 13 additions and 7 deletions

View File

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