diff --git a/README.md b/README.md index a44c6b2..fb73a8f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Supports `Standalone`, `Cluster`, and some proxies type like `Codis`, `twemproxy For `codis` and `twemproxy`, there maybe some constraints, please checkout this [question](https://github.com/alibaba/RedisShake/wiki/FAQ#q-does-redisshake-supports-codis-and-twemproxy). # Configuration -Redis-shake has several parameters in the configuration(`conf/redis-shake.conf`) that maybe confusing, if this is your first time using, just configure the `source.address` and `target.address` parameters. +Redis-shake has several parameters in the configuration(`conf/redis-shake.conf`) that maybe confusing, if this is your first time using, please visit this [tutorial](https://github.com/alibaba/RedisShake/wiki/tutorial-about-how-to-set-up). # Verification --- diff --git a/src/redis-shake/common/utils.go b/src/redis-shake/common/utils.go index 96af6ef..09ae7ef 100644 --- a/src/redis-shake/common/utils.go +++ b/src/redis-shake/common/utils.go @@ -41,7 +41,7 @@ func OpenRedisConnWithTimeout(target []string, auth_type, passwd string, readTim cluster, err := redigoCluster.NewCluster( &redigoCluster.Options{ StartNodes: target, - ConnTimeout: 10 * time.Second, + ConnTimeout: 30 * time.Second, ReadTimeout: readTimeout, WriteTimeout: writeTimeout, KeepAlive: 16,