pub const MAX_ON_FAIL_ATTEMPTS: u32 = 3;
The inclusive upper bound on on_fail.attempts.
on_fail.attempts