Expand description
How long the pipeline waits before trying again. Generic scheduling math; which error codes are
even retryable is super::classification.
Constants§
- JITTER_
MAX_ SECS - NO_
USABLE_ ENROLMENT_ RECHECK_ SECS - How long before the pipeline looks for an enrolment again on its own; a student recheck or enrolment discovery can wake the row sooner.
- SUBMITTING_
RECOVERY_ GRACE_ SECS - A row still
submittingthis long belongs to a worker that died mid-call. Must stay comfortably longer than the client’s request timeout, so a live request is never condemned. - SUBMIT_
BASE_ BACKOFF_ SECS - SUBMIT_
MAX_ BACKOFF_ SECS - SUBMIT_
MAX_ RETRY_ AGE_ SECS - After this long in failure a row stops being retried and becomes a support case.
- UNCERTAIN_
MAX_ CHECKS - After this many fruitless checks a human is asked to look in Sisu. The row still never resubmits.
- UNCERTAIN_
RECHECK_ SECS - How long between the checks that look for an attainment we may or may not have created.
- VERIFY_
BASE_ BACKOFF_ SECS - VERIFY_
FIRST_ DELAY_ SECS - Sisu needs a few minutes before a submitted attainment shows up, so the first poll waits.
- VERIFY_
GIVE_ UP_ POLL_ SECS - VERIFY_
MAX_ AGE_ SECS - After this, polling drops to daily and a human looks. Never a failure: the attainment may exist, and calling it failed would invite a second submission.
- VERIFY_
MAX_ BACKOFF_ SECS
Functions§
- next_
attempt_ at - Spreads a batch that failed together, so it does not come back as one thundering herd.
- submit_
backoff_ secs - submit_
window_ expired - verify_
backoff_ secs - The import phase schedules the first poll, so one prior attempt still means the base delay.
- verify_
window_ expired