mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Increase default pool size
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user