Documented the database connection pooling in the Website service.
This commit is contained in:
@@ -49,10 +49,15 @@ DATABASE_NAME=loud
|
||||
# Provide the real password via the environment or a secret — never commit it.
|
||||
DATABASE_PASSWORD=loud
|
||||
|
||||
# Maximum pooled connections per event loop, one loop per core — an 8-core host
|
||||
# can open 8 times this, and every replica that many again.
|
||||
DATABASE_POOL_MAX_PER_EVENT_LOOP=4
|
||||
|
||||
# Port of the database to connect to.
|
||||
DATABASE_PORT=5432
|
||||
|
||||
# TLS posture when connecting: off | prefer | require (use `require` in production).
|
||||
# TLS posture when connecting: off | prefer | require. Plaintext is the usual
|
||||
# choice over a private container network; use `require` across one you share.
|
||||
DATABASE_TLS=off
|
||||
|
||||
# Username of the database to connect as.
|
||||
|
||||
Reference in New Issue
Block a user