mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 00:31:21 +00:00
Track the length of the client pending output buffers (still to transfer) in a new field in the client structure.
This commit is contained in:
@ -295,6 +295,7 @@ struct redisClient *createFakeClient(void) {
|
||||
* so that Redis will not try to send replies to this client. */
|
||||
c->replstate = REDIS_REPL_WAIT_BGSAVE_START;
|
||||
c->reply = listCreate();
|
||||
c->reply_bytes = 0;
|
||||
c->watched_keys = listCreate();
|
||||
listSetFreeMethod(c->reply,decrRefCount);
|
||||
listSetDupMethod(c->reply,dupClientReplyValue);
|
||||
|
Reference in New Issue
Block a user