mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 12:27:59 +00:00
a569501108
# Which Problems Are Solved defaults.yaml only specifies defaults for cockroach. Therefore, options omitted for postgresql are actually set to `0`. This means that the connections timeouts are set to `0` and connections were not reused, resulting in a performance penalty while running the integration tests. # How the Problems Are Solved Set MaxConnLifeTime and MaxConnIdleTime options in postgres # Additional Changes - none # Additional Context - none Co-authored-by: Silvan <silvan.reusser@gmail.com> Co-authored-by: Livio Spring <livio.a@gmail.com>
20 lines
372 B
YAML
20 lines
372 B
YAML
Database:
|
|
EventPushConnRatio: 0.2 # 4
|
|
ProjectionSpoolerConnRatio: 0.3 # 6
|
|
postgres:
|
|
Host: localhost
|
|
Port: 5432
|
|
Database: zitadel
|
|
MaxOpenConns: 20
|
|
MaxIdleConns: 20
|
|
MaxConnLifetime: 1h
|
|
MaxConnIdleTime: 5m
|
|
User:
|
|
Username: zitadel
|
|
SSL:
|
|
Mode: disable
|
|
Admin:
|
|
Username: zitadel
|
|
SSL:
|
|
Mode: disable
|