Set the slow command threshold
RedisMaintenanceCommand
CONFIG SET slowlog-log-slower-than 10000What it does
Sets the duration threshold, in microseconds, for a command to be logged in the slowlog (10000 = 10 ms).
When to use it
When you want to adjust slowlog sensitivity.
Caution
Setting it to 0 logs every command and adds overhead; -1 disables the slowlog.