From 474bf736902804781734b5a74fc8f524b616f94b Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 14 Aug 2023 17:50:51 +0800 Subject: [PATCH] test --- app/utils/cache/redis.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utils/cache/redis.go b/app/utils/cache/redis.go index 3c4b914..de3be89 100644 --- a/app/utils/cache/redis.go +++ b/app/utils/cache/redis.go @@ -48,6 +48,7 @@ func NewRedis(addr string) { Wait: true, Dial: func() (redigo.Conn, error) { c, err := redigo.Dial("tcp", addr, + redigo.DialPassword(redisPassword), redigo.DialConnectTimeout(redisDialTTL), redigo.DialReadTimeout(redisReadTTL), redigo.DialWriteTimeout(redisWriteTTL),