mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
e009ed9fe4
# Which Problems Are Solved
- `pgxpool -> pgx` dependency throws "MaxSize must be >= 1" on init if
`postgres.MaxOpenConns` isn't set in the ZItadel config
# How the Problems Are Solved
Only override the `MaxConns` with the Zitadel configured `MaxOpenConns`
if greater than 0 (default value). The default `MaxConns` [is derived by
`pgxpool`](
|
||
---|---|---|
.. | ||
cockroach | ||
dialect | ||
migrate | ||
mock | ||
postgres | ||
database_test.go | ||
database.go | ||
type_test.go | ||
type.go |