Fix worker.Immediately to be 0 instead of 2
worker.Immediately had a value of 2 which failed the comparaison with 0 (no timeout), causing jobs to end after 2 seconds.
This commit is contained in:
parent
57337a6004
commit
54286d5aa4
@ -12,7 +12,9 @@ import (
|
|||||||
const (
|
const (
|
||||||
Unlimited = iota
|
Unlimited = iota
|
||||||
OneByOne
|
OneByOne
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
Immediately = iota
|
Immediately = iota
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user