Skip to content

Commit

Permalink
Comment out SQL max conns code
Browse files Browse the repository at this point in the history
  • Loading branch information
patapancakes committed Jan 23, 2025
1 parent 87a3d6d commit e95edb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e95edb0

Please sign in to comment.