Skip to content

Commit

Permalink
change the default for max_open_connections for DB plugins to 4 (#7093)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjarmy authored Jul 18, 2019
1 parent be3e2a1 commit 60e2120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/database/helper/connutil/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (c *SQLConnectionProducer) Init(ctx context.Context, conf map[string]interf
})

if c.MaxOpenConnections == 0 {
c.MaxOpenConnections = 2
c.MaxOpenConnections = 4
}

if c.MaxIdleConnections == 0 {
Expand Down

0 comments on commit 60e2120

Please sign in to comment.