towerops/config
Graham McIntire 071729f65c Reduce pool size and deployment surge to prevent PG connection exhaustion (#94)
PG max_connections=100 (97 usable). With pool_size=15 and maxSurge=100%,
rolling deploys briefly run 4 pods × 15 = 60 pool connections plus Oban
notifiers, exceeding the limit and causing too_many_connections errors
that cascade into ssl recv: closed timeouts.

- pool_size: 15 → 10 (steady state: 2×10=20, deploy: 3×10=30)
- maxSurge: 100% → 1 (max 3 pods during rollout instead of 4)

Reviewed-on: graham/towerops-web#94
2026-03-20 10:39:52 -05:00
..
config.exs fix SSL CA trust store for HTTPS in containers 2026-03-11 14:48:54 -05:00
dev.exs fix: remove Redis config from dev.exs to allow CI health checks to pass 2026-03-08 10:05:12 -05:00
prod.exs fix: suppress noisy health check logs in production 2026-03-05 13:13:19 -06:00
runtime.exs Reduce pool size and deployment surge to prevent PG connection exhaustion (#94) 2026-03-20 10:39:52 -05:00
test.exs fix: add recurring job dispatch timer for agent-polled devices 2026-03-12 12:07:34 -05:00