1
0
mirror of https://github.com/redis/go-redis.git synced 2025-08-08 23:42:06 +03:00

Merge pull request #548 from flisky/master

doc: update more Options default value
This commit is contained in:
Vladimir Mihailenco
2017-04-17 16:01:19 +03:00
committed by GitHub

View File

@@ -43,11 +43,11 @@ type Options struct {
ReadTimeout time.Duration
// Timeout for socket writes. If reached, commands will fail
// with a timeout instead of blocking.
// Default is 3 seconds.
// Default is ReadTimeout.
WriteTimeout time.Duration
// Maximum number of socket connections.
// Default is 10 connections.
// Default is 100 connections.
PoolSize int
// Amount of time client waits for connection if all connections
// are busy before returning an error.