mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Set MaxOpenConnections/MaxIdleConnections to previous values
This commit is contained in:
parent
bf32618c7b
commit
c880314b19
|
|
@ -148,8 +148,8 @@ type DatabaseOptions struct {
|
|||
}
|
||||
|
||||
func (c *DatabaseOptions) Defaults() {
|
||||
c.MaxOpenConnections = 0
|
||||
c.MaxIdleConnections = 0
|
||||
c.MaxOpenConnections = 100
|
||||
c.MaxIdleConnections = 2
|
||||
c.ConnMaxLifetimeSeconds = -1
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue