配置连接池

This commit is contained in:
zk
2026-07-15 16:14:31 +08:00
parent 54e415b5aa
commit ca227ebef7
5 changed files with 30 additions and 2 deletions
+7
View File
@@ -6,6 +6,8 @@ PG_PORT=5432
PG_USER=postgres
PG_PASSWORD=feAeyR0u2fJGSS5ooFdHnSbyHQNY4WlV
PG_DB=postgres
PG_POOL_SIZE=10
PG_MAX_OVERFLOW=10
# MySQL(业务库)
DB_HOST=8.163.14.142
@@ -13,6 +15,11 @@ DB_PORT=30006
DB_USER=root
DB_PASSWORD=^CgDatabase2020
DB_NAME=offerpie
MYSQL_POOL_SIZE=10
MYSQL_MAX_OVERFLOW=10
# 连接池获取连接等待超时(秒),两库共用
DB_POOL_TIMEOUT=30
# AI 供应商