multi: wire up gossip filter concurrency config

In this commit, we complete the integration of the configurable gossip
filter concurrency by wiring the new FilterConcurrency configuration
through all layers of the application.

The changes connect the gossip.filter-concurrency configuration option
from the command-line interface through the server initialization code
to the gossiper and sync manager. This ensures that operators can
actually use the new configuration option to tune their node's
concurrent gossip filter processing capacity based on their specific
requirements and available resources.
This commit is contained in:
Olaoluwa Osuntokun
2025-07-21 11:52:30 -05:00
committed by Oliver Gugger
parent 8eda486227
commit 27778cbe06
2 changed files with 2 additions and 0 deletions

View File

@@ -719,6 +719,7 @@ func DefaultConfig() Config {
AnnouncementConf: discovery.DefaultProofMatureDelta,
MsgRateBytes: discovery.DefaultMsgBytesPerSecond,
MsgBurstBytes: discovery.DefaultMsgBytesBurst,
FilterConcurrency: discovery.DefaultFilterConcurrency,
},
Invoices: &lncfg.Invoices{
HoldExpiryDelta: lncfg.DefaultHoldInvoiceExpiryDelta,

View File

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