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 |
||
|---|---|---|
| .. | ||
| config.exs | ||
| dev.exs | ||
| prod.exs | ||
| runtime.exs | ||
| test.exs | ||