Streams: augment client.bpop with XREAD specific fields.

This commit is contained in:
antirez
2017-09-07 09:30:50 +02:00
parent f80dfbf464
commit 4086dff477
4 changed files with 18 additions and 0 deletions

View File

@ -126,6 +126,7 @@ client *createClient(int fd) {
c->bpop.timeout = 0;
c->bpop.keys = dictCreate(&objectKeyHeapPointerValueDictType,NULL);
c->bpop.target = NULL;
c->bpop.xread_group = NULL;
c->bpop.numreplicas = 0;
c->bpop.reploffset = 0;
c->woff = 0;