Implement dual DB pools (primary + maintenance) and wire services
This commit is contained in:
@@ -45,6 +45,15 @@ OXICLOUD_DB_CONNECTION_STRING=postgres://postgres:postgres@postgres/oxicloud
|
||||
# Minimum number of database connections to maintain (default: 5)
|
||||
#OXICLOUD_DB_MIN_CONNECTIONS=5
|
||||
|
||||
# Maximum connections for the maintenance pool (background/batch tasks).
|
||||
# This pool is isolated from user requests, preventing background operations
|
||||
# (verify_integrity, garbage_collect, storage recalculation) from starving
|
||||
# interactive traffic. Default: 5
|
||||
#OXICLOUD_DB_MAINTENANCE_MAX_CONNECTIONS=5
|
||||
|
||||
# Minimum connections for the maintenance pool. Default: 1
|
||||
#OXICLOUD_DB_MAINTENANCE_MIN_CONNECTIONS=1
|
||||
|
||||
# Build-time database URL for SQLx compile-time checks
|
||||
# Only needed during compilation, not at runtime
|
||||
DATABASE_URL=postgres://postgres:postgres@localhost:5432/oxicloud
|
||||
|
||||
Reference in New Issue
Block a user