fix(config): harden database pool settings

This commit is contained in:
2026-05-03 15:04:08 +08:00
parent 774b907da8
commit cec7fa25e3
13 changed files with 105 additions and 43 deletions
+6 -6
View File
@@ -3,23 +3,23 @@ server:
mode: release
database:
host: postgres
host: pgbouncer
port: 5432
user: geo
password: geo_dev
password: ${OPS_POSTGRES_PASSWORD:geo_dev}
dbname: geo
sslmode: disable
max_open_conns: 10
max_open_conns: 5
max_idle_conns: 2
monitoring_database:
host: monitoring-postgres
host: monitoring-pgbouncer
port: 5432
user: geo
password: geo_dev
password: ${OPS_POSTGRES_PASSWORD:geo_dev}
dbname: geo_monitoring
sslmode: disable
max_open_conns: 10
max_open_conns: 5
max_idle_conns: 2
redis: