1
0
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:
Vladimir Mihailenco
2017-04-12 13:09:09 +03:00
parent e737f3e6dd
commit 7475b2fb0a

View File

@ -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