Browse Source

test

master
huangjiajun 1 year ago
parent
commit
474bf73690
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/utils/cache/redis.go

+ 1
- 0
app/utils/cache/redis.go View File

@@ -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),


Loading…
Cancel
Save