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
be88c0b1
Commit
be88c0b1
authored
Jul 19, 2018
by
antirez
Browse files
Rename INFO CLIENT max buffers field names for correctness.
They are actually delayed a few seconds, so let's call them "recent".
parent
0cf3794e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
be88c0b1
...
@@ -3087,8 +3087,8 @@ sds genRedisInfoString(char *section) {
...
@@ -3087,8 +3087,8 @@ sds genRedisInfoString(char *section) {
info
=
sdscatprintf
(
info
,
info
=
sdscatprintf
(
info
,
"# Clients
\r\n
"
"# Clients
\r\n
"
"connected_clients:%lu
\r\n
"
"connected_clients:%lu
\r\n
"
"client_max_input_buffer:%zu
\r\n
"
"client_
recent_
max_input_buffer:%zu
\r\n
"
"client_max_output_buffer:%zu
\r\n
"
"client_
recent_
max_output_buffer:%zu
\r\n
"
"blocked_clients:%d
\r\n
"
,
"blocked_clients:%d
\r\n
"
,
listLength
(
server
.
clients
)
-
listLength
(
server
.
slaves
),
listLength
(
server
.
clients
)
-
listLength
(
server
.
slaves
),
maxin
,
maxout
,
maxin
,
maxout
,
...
...
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