Increase default pool size

This commit is contained in:
Vladimir Mihailenco 2017-04-12 13:09:09 +03:00
parent e737f3e6dd
commit 7475b2fb0a
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ func (opt *Options) init() {
} }
} }
if opt.PoolSize == 0 { if opt.PoolSize == 0 {
opt.PoolSize = 10 opt.PoolSize = 100
} }
if opt.DialTimeout == 0 { if opt.DialTimeout == 0 {
opt.DialTimeout = 5 * time.Second opt.DialTimeout = 5 * time.Second