mirror of
https://github.com/fluencelabs/redis
synced 2025-04-25 02:22:13 +00:00
Remove client->buf from output buffers in client info.
Technically it is correct that we count that, but the sense of the field is more the *overhead* of the client compared to the baseline. So we want to see idle clients at 0.
This commit is contained in:
parent
8b343f1c0f
commit
ac44ceed0c
@ -1633,7 +1633,7 @@ sds catClientInfoString(sds s, client *client) {
|
||||
(unsigned long long) zmalloc_size(client->argv) + client->argv_bytes,
|
||||
(unsigned long long) client->bufpos,
|
||||
(unsigned long long) listLength(client->reply),
|
||||
(unsigned long long) getClientOutputBufferMemoryUsage(client) + sizeof(client->buf),
|
||||
(unsigned long long) getClientOutputBufferMemoryUsage(client),
|
||||
events,
|
||||
client->lastcmd ? client->lastcmd->name : "NULL");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user