mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
XAUTOCLAIM: JUSTID should prevent incrementing delivery_count (#8724)
To align with XCLAIM and the XAUTOCLAIM docs
This commit is contained in:
parent
91f4f41665
commit
2c120af61e
@ -3121,6 +3121,8 @@ void xautoclaimCommand(client *c) {
|
||||
|
||||
/* Update the consumer and idle time. */
|
||||
nack->delivery_time = now;
|
||||
/* Increment the delivery attempts counter unless JUSTID option provided */
|
||||
if (!justid)
|
||||
nack->delivery_count++;
|
||||
|
||||
if (nack->consumer != consumer) {
|
||||
|
Loading…
Reference in New Issue
Block a user