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
+4 -4
View File
@@ -9,8 +9,8 @@ database:
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: localhost
@@ -19,8 +19,8 @@ monitoring_database:
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@localhost:5672/geo