Skip to main content

Module retention_sweep

Module retention_sweep 

Source
Expand description

The retention-sweep phase: clearing out records past their retention window.

Constants§

OUTCOME_SWEEP_LIMIT 🔒
Above the tens of thousands of checks a day the hourly sweep has to keep up with.
SWEEP_LIMIT 🔒
How much one retention sweep removes from each table.

Functions§

run 🔒
The call log’s 90-day window, the enrolment check log’s own longer one, and the expired linking tokens.