mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
lncfg/workers: bump default read/write workers from 16 -> 100
Bumps the default read and write handlers to be well above the average number of peers a node has. Since the worker counts specify only a maximum number of concurrent read/write workers, it is expected that the actual usage would converge to the requirements of the node anyway. However, in preparation for a major release, this is a conservative measure to ensure that the default values aren't too low and improve network instability.
This commit is contained in:
parent
93e56f9ee8
commit
60467bef7b
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@ import "fmt"
|
|||
const (
|
||||
// DefaultReadWorkers is the default maximum number of concurrent
|
||||
// workers used by the daemon's read pool.
|
||||
DefaultReadWorkers = 16
|
||||
DefaultReadWorkers = 100
|
||||
|
||||
// DefaultWriteWorkers is the default maximum number of concurrent
|
||||
// workers used by the daemon's write pool.
|
||||
DefaultWriteWorkers = 16
|
||||
DefaultWriteWorkers = 100
|
||||
|
||||
// DefaultSigWorkers is the default maximum number of concurrent workers
|
||||
// used by the daemon's sig pool.
|
||||
|
|
Loading…
Add table
Reference in a new issue