瀏覽代碼

test

master
huangjiajun 1 年之前
父節點
當前提交
474bf73690
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      app/utils/cache/redis.go

+ 1
- 0
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),


Loading…
取消
儲存