mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
RESP3: blocked.c updated.
This commit is contained in:
parent
9705c12d85
commit
071da9844c
@ -187,7 +187,7 @@ void replyToBlockedClientTimedOut(client *c) {
|
|||||||
if (c->btype == BLOCKED_LIST ||
|
if (c->btype == BLOCKED_LIST ||
|
||||||
c->btype == BLOCKED_ZSET ||
|
c->btype == BLOCKED_ZSET ||
|
||||||
c->btype == BLOCKED_STREAM) {
|
c->btype == BLOCKED_STREAM) {
|
||||||
addReply(c,shared.nullmultibulk);
|
addReplyNull(c);
|
||||||
} else if (c->btype == BLOCKED_WAIT) {
|
} else if (c->btype == BLOCKED_WAIT) {
|
||||||
addReplyLongLong(c,replicationCountAcksByOffset(c->bpop.reploffset));
|
addReplyLongLong(c,replicationCountAcksByOffset(c->bpop.reploffset));
|
||||||
} else if (c->btype == BLOCKED_MODULE) {
|
} else if (c->btype == BLOCKED_MODULE) {
|
||||||
@ -436,8 +436,8 @@ void handleClientsBlockedOnKeys(void) {
|
|||||||
* the name of the stream and the data we
|
* the name of the stream and the data we
|
||||||
* extracted from it. Wrapped in a single-item
|
* extracted from it. Wrapped in a single-item
|
||||||
* array, since we have just one key. */
|
* array, since we have just one key. */
|
||||||
addReplyMultiBulkLen(receiver,1);
|
addReplyArrayLen(receiver,1);
|
||||||
addReplyMultiBulkLen(receiver,2);
|
addReplyArrayLen(receiver,2);
|
||||||
addReplyBulk(receiver,rl->key);
|
addReplyBulk(receiver,rl->key);
|
||||||
|
|
||||||
streamPropInfo pi = {
|
streamPropInfo pi = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user