multi: add new config ban-threshold

This commit is contained in:
yyforyongyu committed 2025-08-04 15:45:47 +08:00
1 parent 3109a8f3fe
commit a6f8617e7c
5 files changed
+25 -1

No files matched your search

+1
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{