|
|
@ -87,6 +87,7 @@ func NewRedisQueue(handle HandlerFunc, cfg, exemplar interface{}) (Queue, error) |
|
|
|
queueName: config.QueueName, |
|
|
|
queueName: config.QueueName, |
|
|
|
exemplar: exemplar, |
|
|
|
exemplar: exemplar, |
|
|
|
closed: make(chan struct{}), |
|
|
|
closed: make(chan struct{}), |
|
|
|
|
|
|
|
terminated: make(chan struct{}), |
|
|
|
workers: config.Workers, |
|
|
|
workers: config.Workers, |
|
|
|
name: config.Name, |
|
|
|
name: config.Name, |
|
|
|
} |
|
|
|
} |
|
|
|