Client side caching: add tracking clients in INFO.
This commit is contained in:
parent
7c9f6ebc8f
commit
923e4fb312
@ -3895,10 +3895,12 @@ sds genRedisInfoString(char *section) {
|
|||||||
"connected_clients:%lu\r\n"
|
"connected_clients:%lu\r\n"
|
||||||
"client_recent_max_input_buffer:%zu\r\n"
|
"client_recent_max_input_buffer:%zu\r\n"
|
||||||
"client_recent_max_output_buffer:%zu\r\n"
|
"client_recent_max_output_buffer:%zu\r\n"
|
||||||
"blocked_clients:%d\r\n",
|
"blocked_clients:%d\r\n"
|
||||||
|
"tracking_clients:%d\r\n",
|
||||||
listLength(server.clients)-listLength(server.slaves),
|
listLength(server.clients)-listLength(server.slaves),
|
||||||
maxin, maxout,
|
maxin, maxout,
|
||||||
server.blocked_clients);
|
server.blocked_clients,
|
||||||
|
server.tracking_clients);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Memory */
|
/* Memory */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user