fix: document and wire the DB pool env vars into compose
The new DB_MAX_CONNECTIONS / DB_ACQUIRE_TIMEOUT_SECS knobs were read by the backend but never added to .env.example or docker-compose.yml, so an operator setting them in .env would see no effect (caught by the config meta-tests). Document both in .env.example and wire them into backend.environment. Bump to 0.124.8. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -25,6 +25,12 @@ DATABASE_URL=postgres://mangalord:mangalord@postgres:5432/mangalord
|
||||
BIND_ADDRESS=0.0.0.0:8080
|
||||
STORAGE_DIR=/var/lib/mangalord/storage
|
||||
RUST_LOG=info,mangalord=debug,chromiumoxide::conn=off,chromiumoxide::handler=off
|
||||
# Postgres connection-pool sizing. One pool serves HTTP handlers and the
|
||||
# crawler/analysis daemons. DB_MAX_CONNECTIONS caps open connections;
|
||||
# DB_ACQUIRE_TIMEOUT_SECS is how long a request waits for a free connection
|
||||
# before failing fast (rather than hanging on the driver's 30s default).
|
||||
DB_MAX_CONNECTIONS=20
|
||||
DB_ACQUIRE_TIMEOUT_SECS=10
|
||||
|
||||
# ----- Auth / cookies -----
|
||||
# COOKIE_SECURE controls whether the `Secure` flag is set on the session
|
||||
|
||||
Reference in New Issue
Block a user