配置连接池
This commit is contained in:
@@ -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=192.168.31.105
|
||||
@@ -13,6 +15,11 @@ DB_PORT=3306
|
||||
DB_USER=root
|
||||
DB_PASSWORD=123456
|
||||
DB_NAME=offerpie
|
||||
MYSQL_POOL_SIZE=10
|
||||
MYSQL_MAX_OVERFLOW=10
|
||||
|
||||
# 连接池获取连接等待超时(秒),两库共用
|
||||
DB_POOL_TIMEOUT=30
|
||||
|
||||
|
||||
# AI 供应商
|
||||
|
||||
Reference in New Issue
Block a user