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
commit aeb22d6a37
1 changed files with 2 additions and 2 deletions

View File

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