doc: update more Options default value

This commit is contained in:
Yin Jifeng 2017-04-17 19:29:41 +08:00
parent d9dd5852ab
commit 66e06285b2
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.