Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
setmaxopen
Browse files Browse the repository at this point in the history
  • Loading branch information
pgmot committed Nov 25, 2023
1 parent 148430b commit 2204cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func connectDB(logger echo.Logger) (*sqlx.DB, error) {
if err != nil {
return nil, err
}
db.SetMaxOpenConns(10)
db.SetMaxOpenConns(100)

if err := db.Ping(); err != nil {
return nil, err
Expand Down

0 comments on commit 2204cea

Please sign in to comment.