mirror of https://github.com/go-redis/redis.git
Increase default pool size
This commit is contained in:
parent
e737f3e6dd
commit
7475b2fb0a
|
@ -84,7 +84,7 @@ func (opt *Options) init() {
|
|||
}
|
||||
}
|
||||
if opt.PoolSize == 0 {
|
||||
opt.PoolSize = 10
|
||||
opt.PoolSize = 100
|
||||
}
|
||||
if opt.DialTimeout == 0 {
|
||||
opt.DialTimeout = 5 * time.Second
|
||||
|
|
Loading…
Reference in New Issue