Comment out SQL max conns code

live
Pancakes 17 hours ago
parent 87a3d6d290
commit e95edb0ca1
No known key found for this signature in database
GPG Key ID: 5792877BFA27DC8F

@ -34,10 +34,10 @@ func Init(username, password, protocol, address, database string) error {
return fmt.Errorf("failed to open database connection: %s", err)
}
conns := 64
/*conns := 64
handle.SetMaxOpenConns(conns)
handle.SetMaxIdleConns(conns)
handle.SetMaxIdleConns(conns)*/
/*tx, err := handle.Begin()
if err != nil {

Loading…
Cancel
Save