mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
Append a Postgres connection-pool sizing section to the self-hosting scaling guide. Documents the v1.4.40 W-POOL default (20 slots per container), the container_count × DATABASE_POOL_MAX × max_connections envelope (with a 1-5 container ready-reckoner table), the env-var override path, and PgBouncer as the escape hatch for deployments that outgrow the per-process pool model. Cross-references src/lib/db.ts and the empirical trace that motivated the bump. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>