mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 00:31:21 +00:00
Bugfix: PEL is incorrect when consumer is blocked using xreadgroup with NOACK option.
Save NOACK option into client.blockingState structure.
This commit is contained in:
committed by
Salvatore Sanfilippo
parent
b67f027699
commit
61f12973f7
@ -1426,6 +1426,7 @@ void xreadCommand(client *c) {
|
||||
incrRefCount(consumername);
|
||||
c->bpop.xread_group = groupname;
|
||||
c->bpop.xread_consumer = consumername;
|
||||
c->bpop.xread_group_noack = noack;
|
||||
} else {
|
||||
c->bpop.xread_group = NULL;
|
||||
c->bpop.xread_consumer = NULL;
|
||||
|
Reference in New Issue
Block a user