Skip to content

Commit

Permalink
Remove redundant setting of db connection parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
srinidhis94 committed Apr 17, 2021
1 parent 3743db2 commit 70400ea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/fuzzer/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import (
func getDriverAndDB(f flags.Flags) (drivers.Driver, *sql.DB) {
driver := drivers.New(f.Driver)
db := connector.Connection(driver, f)
db.SetMaxOpenConns(f.Workers)
db.SetMaxIdleConns(f.Workers)
return driver, db
}

Expand Down

0 comments on commit 70400ea

Please sign in to comment.