Commit 923e4fb3 authored by antirez's avatar antirez
Browse files

Client side caching: add tracking clients in INFO.

parent 7c9f6ebc
...@@ -3895,10 +3895,12 @@ sds genRedisInfoString(char *section) { ...@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment