diff --git a/valkey.conf b/valkey.conf index 508d3c7a17..19e7c3c492 100644 --- a/valkey.conf +++ b/valkey.conf @@ -2012,14 +2012,13 @@ commandlog-execution-slower-than 10000 # You can reclaim memory used by the slow log with SLOWLOG RESET or COMMANDLOG RESET SLOW. commandlog-slow-execution-max-len 128 -# The second type is LARGE-REQUEST, which is used to log commands with large requests. -# Which can consume network bandwidth and the client's query buffer. The request -# size of a command includes the command itself and all its arguments. For example, -# in the command SET KEY VALUE, if the key or value is relatively large and causes -# the overall command size to exceed the set threshold, it will be recorded. -# -# The threshold for command request size can be adjusted using the config below, with the -# unit being bytes. +# LARGE_REQUEST Command Logs +# The LARGE_REQUEST log tracks commands with requests exceeding a specified size. The request size +# includes the command itself and all its arguments. For example, in `SET KEY VALUE`, the size is +# determined by the combined size of the key and value. Commands that consume excessive network +# bandwidth or query buffer space are recorded here. + +# The threshold is measured in bytes. commandlog-request-larger-than 1048576 # Record the number of commands. commandlog-large-request-max-len 128