Merge pull request #4027 from liubin/add-redis-username

Add username to create redis client
This commit is contained in:
Milos Gajdos
2023-08-29 11:07:55 +01:00
committed by GitHub

View File

@@ -525,6 +525,7 @@ func (app *App) createPool(cfg configuration.Redis) *redis.Client {
res := cn.Ping(ctx)
return res.Err()
},
Username: cfg.Username,
Password: cfg.Password,
DB: cfg.DB,
MaxRetries: 3,