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