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
@ -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…
Reference in New Issue
Block a user