Matthew Meszaros
|
6a784031ab
|
feat: cut consumer Postgres statements per arrival and SYNC_STATE by reading the prior sync state under the report lock, folding the last_synced_at touch into the upsert, throttling healthy recovery and account clocks to a minute, admitting arrivals in one statement, claiming 32 arrivals per statement with checkpoints only before a remaining stage, counting the arrival backlog every 30s, memoizing the mailbox row per NEW_EMAIL and caching resource organizations for realtime audiences
|
2026-11-04 13:06:19 +01:00 |
|