mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
No redis host specified not found
This commit is contained in:
@ -91,7 +91,7 @@ func NewRedisQueue(handle HandlerFunc, cfg, exemplar interface{}) (Queue, error)
|
|||||||
name: config.Name,
|
name: config.Name,
|
||||||
}
|
}
|
||||||
if len(dbs) == 0 {
|
if len(dbs) == 0 {
|
||||||
return nil, errors.New("no redis host found")
|
return nil, errors.New("no redis host specified")
|
||||||
} else if len(dbs) == 1 {
|
} else if len(dbs) == 1 {
|
||||||
queue.client = redis.NewClient(&redis.Options{
|
queue.client = redis.NewClient(&redis.Options{
|
||||||
Network: config.Network,
|
Network: config.Network,
|
||||||
|
Reference in New Issue
Block a user