mirror of https://github.com/go-redis/redis.git
doc: update more Options default value
This commit is contained in:
parent
d9dd5852ab
commit
66e06285b2
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue