Browse Source

redisc update

marion 4 years ago
parent
commit
0e97ac1b23
1 changed files with 0 additions and 2 deletions
  1. 0 2
      utils/redis/redis_conn.go

+ 0 - 2
utils/redis/redis_conn.go

@@ -59,8 +59,6 @@ func (h *Hub) createPool(addr string, opts ...redis.DialOption) (*redis.Pool, er
 func (h *Hub) conn() error {
 	dialOpts := []redis.DialOption{
 		redis.DialConnectTimeout(5 * time.Second),
-		redis.DialReadTimeout(50 * time.Millisecond),
-		redis.DialWriteTimeout(50 * time.Millisecond),
 	}
 
 	nodes := viper.GetStringSlice("redis.nodes")