multi: add new config peer-msg-rate-bytes

This commit is contained in:
yyforyongyu
2025-07-22 19:18:26 +08:00
parent 778456769a
commit 5bc4666efc
6 changed files with 28 additions and 0 deletions

View File

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