CG: consumer lookup + initial streamReplyWithRange() work to supprot CG.

This commit is contained in:
antirez
2018-01-19 17:18:06 +01:00
parent ccdae09046
commit 86fe8fde20
3 changed files with 44 additions and 8 deletions

View File

@ -326,7 +326,9 @@ void handleClientsBlockedOnKeys(void) {
addReplyMultiBulkLen(receiver,2);
addReplyBulk(receiver,rl->key);
streamReplyWithRange(receiver,s,&start,NULL,
receiver->bpop.xread_count,0);
receiver->bpop.xread_count,0,
NULL,
NULL);
}
}
}