You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed this behavior with 0.3.5 and now NackMessages also checks is_max condition
Btw, don't worry about default self.__ack - all messages can't be acked twice, so if you call ack/nack/reject manually, all following calls just do nothing
Describe the bug
If
NackMessage
is raised in the message handler, theretry
parameter is ignored, and the messages keeps getting re-queuedHow to reproduce
Include source code:
Expected behavior
Message will be re-queued a maximum of
retry
times.Observed behavior
Messaged is re-queued forever.
Additional context
Happens because of this logic in
push_back_watcher.py
, so the number of retries is never checked:Moreover, is
message.nack()
is called,exc_type
isNone
and the first branch is taken callingawait self.__ack()
The text was updated successfully, but these errors were encountered: