multi: add new config ban-threshold

This commit is contained in:
yyforyongyu
2025-07-31 10:41:15 +08:00
parent 3109a8f3fe
commit a6f8617e7c
5 changed files with 25 additions and 1 deletions

View File

@@ -1226,6 +1226,7 @@ func newServer(ctx context.Context, cfg *Config, listenAddrs []net.Addr,
MsgRateBytes: cfg.Gossip.MsgRateBytes,
MsgBurstBytes: cfg.Gossip.MsgBurstBytes,
FilterConcurrency: cfg.Gossip.FilterConcurrency,
BanThreshold: cfg.Gossip.BanThreshold,
}, nodeKeyDesc)
accessCfg := &accessManConfig{