1

Increase count for max idle connections

This commit is contained in:
Alex Yatskov 2015-07-31 15:47:44 +09:00
parent 63df3adab1
commit 64b0fcae4d

View File

@ -322,6 +322,8 @@ func main() {
} }
defer db.Close() defer db.Close()
db.SetMaxIdleConns(256)
if *profile != "" { if *profile != "" {
f, err := os.Create(*profile) f, err := os.Create(*profile)
if err != nil { if err != nil {