全项目数据库性能优化
This commit is contained in:
@@ -23,6 +23,10 @@ POSTGRES_DB=order_site
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=change-me-postgres-password
|
||||
DATABASE_URL=postgres://postgres:change-me-postgres-password@postgres:5432/order_site
|
||||
DATABASE_MAX_CONNECTIONS=8
|
||||
DATABASE_IDLE_TIMEOUT_MS=30000
|
||||
DATABASE_CONNECTION_TIMEOUT_MS=5000
|
||||
DATABASE_STATEMENT_TIMEOUT_MS=15000
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=info
|
||||
|
||||
Reference in New Issue
Block a user