Rename INFO CLIENT max buffers field names for correctness.

They are actually delayed a few seconds, so let's call them "recent".
This commit is contained in:
antirez 2018-07-19 17:38:17 +02:00
parent 0cf3794e6e
commit be88c0b16a

View File

@ -3087,8 +3087,8 @@ sds genRedisInfoString(char *section) {
info = sdscatprintf(info,
"# Clients\r\n"
"connected_clients:%lu\r\n"
"client_max_input_buffer:%zu\r\n"
"client_max_output_buffer:%zu\r\n"
"client_recent_max_input_buffer:%zu\r\n"
"client_recent_max_output_buffer:%zu\r\n"
"blocked_clients:%d\r\n",
listLength(server.clients)-listLength(server.slaves),
maxin, maxout,