Skip to content

Commit

Permalink
[fix] [mq] Properly assume :success handler status by default
Browse files Browse the repository at this point in the history
Relevant for handlers that don't provide the expected `{:status _}` return value.
  • Loading branch information
ptaoussanis committed May 30, 2024
1 parent 9056042 commit 41e5ed3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/taoensso/carmine/message_queue.clj
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,8 @@

handling-time-ns (- (enc/now-nano*) t0)

{:keys [status throwable backoff-ms]}
{:keys [status throwable backoff-ms]
:or {status :success}}
(when (map? result) result)

fin
Expand Down

0 comments on commit 41e5ed3

Please # to comment.