Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
923e4fb3
Commit
923e4fb3
authored
Jul 10, 2019
by
antirez
Browse files
Client side caching: add tracking clients in INFO.
parent
7c9f6ebc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
923e4fb3
...
...
@@ -3895,10 +3895,12 @@ sds genRedisInfoString(char *section) {
"connected_clients:%lu
\r\n
"
"client_recent_max_input_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
),
maxin
,
maxout
,
server
.
blocked_clients
);
server
.
blocked_clients
,
server
.
tracking_clients
);
}
/* Memory */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment