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

This commit is contained in:
yyforyongyu committed 2025-09-02 21:23:07 +08:00
1 parent 778456769a
commit 5bc4666efc
6 files changed
+28

No files matched your search

+1
View File
@@ -721,6 +721,7 @@ func DefaultConfig() Config {
MsgBurstBytes: discovery.DefaultMsgBytesBurst,
FilterConcurrency: discovery.DefaultFilterConcurrency,
BanThreshold: discovery.DefaultBanThreshold,
PeerMsgRateBytes: discovery.DefaultPeerMsgBytesPerSecond,
},
Invoices: &lncfg.Invoices{
HoldExpiryDelta: lncfg.DefaultHoldInvoiceExpiryDelta,