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
+8 -8
View File
@@ -3,24 +3,24 @@ server:
mode: release
database:
host: postgres
host: pgbouncer
port: 5432
user: geo
password: geo_dev
password: ${POSTGRES_PASSWORD:geo_dev}
dbname: geo
sslmode: disable
max_open_conns: 25
max_idle_conns: 5
max_open_conns: 12
max_idle_conns: 3
monitoring_database:
host: monitoring-postgres
host: monitoring-pgbouncer
port: 5432
user: geo
password: geo_dev
password: ${POSTGRES_PASSWORD:geo_dev}
dbname: geo_monitoring
sslmode: disable
max_open_conns: 25
max_idle_conns: 5
max_open_conns: 8
max_idle_conns: 2
rabbitmq:
url: amqp://geo:geo_dev@rabbitmq:5672/geo