fix: chunk FIRMS bulk inserts under asyncpg 32767 bind cap #14

Merged
sirius merged 1 commit from fix/firms-bind-limit into master 2026-08-28 22:20:49 -04:00

1 commit

Author SHA1 Message Date
Sirius DevOps
5302e261d7 fix: chunk FIRMS bulk inserts under asyncpg 32767 bind cap
A ~90k-row INSERT ... ON CONFLICT dies with InterfaceError, so fire_loop
fails every poll and /api/health stays degraded (fires age > 30 min).
Chunk 2000 rows per statement, still one commit per poll.
2026-08-28 22:22:12 -04:00