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:
Conner Fromknecht 2019-03-26 16:40:57 -07:00
parent 93e56f9ee8
commit 60467bef7b
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -5,11 +5,11 @@ import "fmt"
const ( const (
// DefaultReadWorkers is the default maximum number of concurrent // DefaultReadWorkers is the default maximum number of concurrent
// workers used by the daemon's read pool. // workers used by the daemon's read pool.
DefaultReadWorkers = 16 DefaultReadWorkers = 100
// DefaultWriteWorkers is the default maximum number of concurrent // DefaultWriteWorkers is the default maximum number of concurrent
// workers used by the daemon's write pool. // workers used by the daemon's write pool.
DefaultWriteWorkers = 16 DefaultWriteWorkers = 100
// DefaultSigWorkers is the default maximum number of concurrent workers // DefaultSigWorkers is the default maximum number of concurrent workers
// used by the daemon's sig pool. // used by the daemon's sig pool.