Merge pull request #2866 from cfromknecht/inc-worker-timeout

pool/worker: increase worker timeout to 90s
This commit is contained in:
Olaoluwa Osuntokun 2019-04-26 15:46:59 -07:00 committed by GitHub
commit c6b2c375f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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