Skip to content

Commit

Permalink
Merge pull request #34 from voyagegroup/k-nasa/feature/update_db_conn…
Browse files Browse the repository at this point in the history
…ections

db max_connectionsを減らす。複数インスタンスに対応するため
  • Loading branch information
Kase076 authored Nov 4, 2019
2 parents 748266c + 7547cbb commit 2b9a92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func main() {
panic(err.Error())
}
defer db.Close()
db.SetMaxOpenConns(66)
db.SetMaxOpenConns(5)

resc := make(chan EventLog, 200000)

Expand Down

0 comments on commit 2b9a92c

Please sign in to comment.