STEP 7 OF 10 · AT-LEAST-ONCE
Expect every job more than once
You could acknowledge before doing the work. Then a crash loses the charge entirely: that is at-most-once delivery. Acknowledge after, and a crash repeats it: at-least-once.
No setting on the queue makes the debit and the acknowledgement happen as one step, because they live in different systems. So production systems pick at-least-once and make the handler safe to run again.
The operation that must be safe to retry is the side effect, the debit. Repeating the lease or the acknowledgement is already harmless.
Why it matters. Once you accept at-least-once as normal, the design question changes from "how do I stop retries" to "how do I make a retry harmless".