diff --git a/server.go b/server.go index 5b9ea60..7c6a71a 100644 --- a/server.go +++ b/server.go @@ -322,6 +322,8 @@ func main() { } defer db.Close() + db.SetMaxIdleConns(256) + if *profile != "" { f, err := os.Create(*profile) if err != nil {