XAUTOCLAIM: JUSTID should prevent incrementing delivery_count (#8724)
To align with XCLAIM and the XAUTOCLAIM docs
This commit is contained in:
parent
1ac84a68c7
commit
7d01b47442
@ -3121,7 +3121,9 @@ void xautoclaimCommand(client *c) {
|
||||
|
||||
/* Update the consumer and idle time. */
|
||||
nack->delivery_time = now;
|
||||
nack->delivery_count++;
|
||||
/* Increment the delivery attempts counter unless JUSTID option provided */
|
||||
if (!justid)
|
||||
nack->delivery_count++;
|
||||
|
||||
if (nack->consumer != consumer) {
|
||||
/* Add the entry in the new consumer local PEL. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user