goaws icon indicating copy to clipboard operation
goaws copied to clipboard

Redrive policy MaxReceive logic is off by one

Open qhenkart opened this issue 1 year ago • 0 comments

in AWS, setting MaxReceives to 3 means that the message is processed exactly 3 times before being sent to the DLQ.

With this library, I think it counts the first run as 0 instead of 1, meaning that it gets processed 4 times before sending to the DLQ.

qhenkart avatar May 04 '23 08:05 qhenkart