mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-22 14:34:59 +02:00
Merge pull request #2866 from cfromknecht/inc-worker-timeout
pool/worker: increase worker timeout to 90s
This commit is contained in:
commit
c6b2c375f6
@ -13,7 +13,7 @@ var ErrWorkerPoolExiting = errors.New("worker pool exiting")
|
||||
// DefaultWorkerTimeout is the default duration after which a worker goroutine
|
||||
// will exit to free up resources after having received no newly submitted
|
||||
// tasks.
|
||||
const DefaultWorkerTimeout = 5 * time.Second
|
||||
const DefaultWorkerTimeout = 90 * time.Second
|
||||
|
||||
type (
|
||||
// WorkerState is an interface used by the Worker to abstract the
|
||||
|
Loading…
x
Reference in New Issue
Block a user