Skip to content

Commit

Permalink
Update valkey.conf
Browse files Browse the repository at this point in the history
Co-authored-by: Ping Xie <[email protected]>
Signed-off-by: zhaozhao.zz <[email protected]>
  • Loading branch information
soloestoy and PingXie authored Jan 21, 2025
1 parent 0912399 commit 05f3d90
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions valkey.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2023,13 +2023,13 @@ commandlog-request-larger-than 1048576
# Record the number of commands.
commandlog-large-request-max-len 128

# The third type is LARGE-REPLY, which is used to log commands with large replies.
# This kind of commands consumes network bandwidth and the client's output buffer.
# Examples include commands that retrieve a large amount of data, such as KEYS or HGETALL.
# Even the GET command can produce a large reply if the value is substantial.
#
# The threshold for the size of command reply (in bytes) and the number of commands
# that can be logged.
# LARGE_REPLY Command Logs
# The LARGE_REPLY log records commands that produce replies exceeding a specified size. These replies
# may consume significant network bandwidth or client output buffer space. Examples include commands
# like `KEYS` or `HGETALL` that return large datasets. Even a `GET` command may qualify if the value
# is substantial.

# The threshold is measured in bytes.
commandlog-reply-larger-than 1048576
commandlog-large-reply-max-len 128

Expand Down

0 comments on commit 05f3d90

Please sign in to comment.