Update queue_redis.go (#9911)

This commit is contained in:
zeripath 2020-01-21 12:02:25 +00:00 committed by Lunny Xiao
parent ff508c9c9b
commit 05b9864086

View file

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