Expand description
The retention-sweep phase: the call log’s 90-day window and the expired linking tokens.
Bounded per iteration and run hourly, so the first sweep after the window opens clears a backlog
over several hours instead of in one statement that locks every
credit_registration_events row referencing it.
Constants§
- SWEEP_
LIMIT 🔒 - How much one iteration removes from each table.