mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 14:37:34 +00:00
refactor(database): exchange connection pool (#8325)
# Which Problems Are Solved The connection pool of go uses a high amount of database connections. # How the Problems Are Solved The standard lib connection pool was replaced by `pgxpool.Pool` # Additional Changes The `db.BeginTx`-spans are removed because they cause to much noise in the traces. # Additional Context - part of https://github.com/zitadel/zitadel/issues/7639
This commit is contained in:
@@ -9,8 +9,8 @@ Database:
|
||||
# This makes the e2e config reusable with an out-of-docker zitadel process and an /etc/hosts entry
|
||||
Host: host.docker.internal
|
||||
EventPushConnRatio: 0.2
|
||||
MaxOpenConns: 40
|
||||
MaxIdleConns: 20
|
||||
MaxOpenConns: 15
|
||||
MaxIdleConns: 10
|
||||
|
||||
TLS:
|
||||
Enabled: false
|
||||
|
@@ -9,8 +9,8 @@ Database:
|
||||
# This makes the e2e config reusable with an out-of-docker zitadel process and an /etc/hosts entry
|
||||
Host: host.docker.internal
|
||||
EventPushConnRatio: 0.2
|
||||
MaxOpenConns: 40
|
||||
MaxIdleConns: 20
|
||||
MaxOpenConns: 15
|
||||
MaxIdleConns: 10
|
||||
|
||||
TLS:
|
||||
Enabled: false
|
||||
|
Reference in New Issue
Block a user