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
|
// DefaultWorkerTimeout is the default duration after which a worker goroutine
|
||||||
// will exit to free up resources after having received no newly submitted
|
// will exit to free up resources after having received no newly submitted
|
||||||
// tasks.
|
// tasks.
|
||||||
const DefaultWorkerTimeout = 5 * time.Second
|
const DefaultWorkerTimeout = 90 * time.Second
|
||||||
|
|
||||||
type (
|
type (
|
||||||
// WorkerState is an interface used by the Worker to abstract the
|
// WorkerState is an interface used by the Worker to abstract the
|
||||||
|
Loading…
Reference in New Issue
Block a user