CG: XPENDING should not create consumers and obey to count.

This commit is contained in:
antirez
2018-01-29 18:32:38 +01:00
parent f3708af7f9
commit e76fb4ab25
3 changed files with 15 additions and 6 deletions

View File

@ -331,7 +331,8 @@ void handleClientsBlockedOnKeys(void) {
}
if (group) {
consumer = streamLookupConsumer(group,
receiver->bpop.xread_consumer->ptr);
receiver->bpop.xread_consumer->ptr,
1);
}
/* Note that after we unblock the client, 'gt'