SQLStreams

the messaging platform that is just Postgres

You last visited on 9999-99-99 Show what's new since then

could not complete the delivery yet, the handler asked to run it later [SQL0054]

Edit this page
code SQL0054 · recovery transient — the delivery runs again after the requested delay; no failure is counted
the log line · Report this thread
SQL0054 Transient error

As it arrives in your log or error chain — the values are your call's own:

could not complete the delivery yet, the handler asked to run it later [SQL0054]

sqlstreams.Delay(d) returned from a consumerFunc. The delivery’s row goes back to ready with can_run_after moved out by d, its delays count goes up by one, and attempts - delays — the retry budget — is unchanged. The delivery_log row for this attempt carries status delayed.

A delay returned with delays already at RetryPolicy.MaxDelays (when set) dead-letters the message instead, with this text as last_error. Handler outcomes has the whole table.

Nothing pasted yet — the queries above show their blanks.

Looking for a different code? Search every thread.