Skip to content

Commit

Permalink
Remove DB connection limit
Browse files Browse the repository at this point in the history
  • Loading branch information
pcvolkmer committed May 23, 2024
1 parent 2109fe5 commit 62e89c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ func main() {

if dbx, err := sql.Open("mysql", dbCfg.FormatDSN()); err == nil {
if err := dbx.Ping(); err == nil {
dbx.SetMaxOpenConns(25)
db = dbx
defer func(db *sql.DB) {
err := db.Close()
Expand Down

0 comments on commit 62e89c4

Please sign in to comment.