Files
lnd/lncfg
Olaoluwa Osuntokun 57872b9cff discovery: make gossip filter semaphore capacity configurable
In this commit, we make the gossip filter semaphore capacity configurable
through a new FilterConcurrency field. This change allows node operators
to tune the number of concurrent gossip filter applications based on
their node's resources and network position.

The previous hard-coded limit of 5 concurrent filter applications could
become a bottleneck when multiple peers attempt to synchronize
simultaneously. By making this value configurable via the new
gossip.filter-concurrency option, operators can increase this limit
for better performance on well-resourced nodes or maintain conservative
values on resource-constrained systems.

We keep the default value at 5 to maintain backward compatibility and
avoid unexpected resource usage increases for existing deployments. The
sample configuration file is updated to document this new option.
2025-08-06 11:34:42 +02:00
..
2024-12-02 09:14:21 +02:00
2025-03-24 11:53:23 -05:00
2025-03-24 11:53:23 -05:00
2025-06-24 18:24:21 +02:00
2024-10-18 13:03:30 +02:00
2024-12-02 09:14:21 +02:00
2024-12-02 09:14:21 +02:00
2024-12-02 09:14:21 +02:00