summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-05-13 17:30:02 +0200
committerantirez <antirez@gmail.com>2019-05-13 17:34:01 +0200
commitcc10172176365fe1a1994399a6b4eb9dab720b45 (patch)
tree538e46f410cbdd0181ed8c763ae35110b5ff2fed
parent72420b0d7a7c6e3efc1e2df1f1e4b46610e031c0 (diff)
downloadredis-cc10172176365fe1a1994399a6b4eb9dab720b45.tar.gz
Make comment in getClientOutputBufferMemoryUsage() describing the present.
-rw-r--r--src/networking.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/networking.c b/src/networking.c
index cfd630497..81c03254a 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -2021,15 +2021,8 @@ void rewriteClientCommandArgument(client *c, int i, robj *newval) {
}
}
-/* This function returns the number of bytes that Redis is virtually
+/* This function returns the number of bytes that Redis is
* using to store the reply still not read by the client.
- * It is "virtual" since the reply output list may contain objects that
- * are shared and are not really using additional memory.
- *
- * The function returns the total sum of the length of all the objects
- * stored in the output list, plus the memory used to allocate every
- * list node. The static reply buffer is not taken into account since it
- * is allocated anyway.
*
* Note: this function is very fast so can be called as many time as
* the caller wishes. The main usage of this function currently is