mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-28 09:48:10 +00:00
No redis host specified not found
This commit is contained in:
parent
e4ddaab70b
commit
c7550a4bdd
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ func NewRedisQueue(handle HandlerFunc, cfg, exemplar interface{}) (Queue, error)
|
|||
name: config.Name,
|
||||
}
|
||||
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 {
|
||||
queue.client = redis.NewClient(&redis.Options{
|
||||
Network: config.Network,
|
||||
|
|
Loading…
Reference in a new issue