towerops/config
Graham McIntire 96995bd5aa Increase Oban Pruner throughput to prevent oban_jobs table bloat (#95)
Default Pruner settings (10k rows/30s = 333/s) can't keep up with job
completion rate (~600+/s from SNMP polling + sync workers), causing
oban_jobs to accumulate millions of completed rows. The bloated table
(47M rows, 29GB) makes Oban.Met.Reporter COUNT queries slow, blocking
on IO and holding DB connections until they timeout at 15s — the actual
root cause of the "ssl recv: closed" connection pool exhaustion.

Increase to 50k rows/5s (10,000/s) to keep the table small.

Reviewed-on: graham/towerops-web#95
2026-03-20 11:09:37 -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 Increase Oban Pruner throughput to prevent oban_jobs table bloat (#95) 2026-03-20 11:09:37 -05:00
test.exs fix: add recurring job dispatch timer for agent-polled devices 2026-03-12 12:07:34 -05:00