mirror of
https://github.com/fluencelabs/redis
synced 2025-04-25 10:32:14 +00:00
Fix regression causing EXEC to appear in the slow log.
This was recently introduced with PR #6266.
This commit is contained in:
parent
2a8a63af44
commit
583933e2d6
@ -3200,7 +3200,7 @@ void call(client *c, int flags) {
|
|||||||
|
|
||||||
/* Log the command into the Slow log if needed, and populate the
|
/* Log the command into the Slow log if needed, and populate the
|
||||||
* per-command statistics that we show in INFO commandstats. */
|
* per-command statistics that we show in INFO commandstats. */
|
||||||
if (flags & CMD_CALL_SLOWLOG && !(c->flags & CMD_SKIP_SLOWLOG)) {
|
if (flags & CMD_CALL_SLOWLOG && !(c->cmd->flags & CMD_SKIP_SLOWLOG)) {
|
||||||
char *latency_event = (c->cmd->flags & CMD_FAST) ?
|
char *latency_event = (c->cmd->flags & CMD_FAST) ?
|
||||||
"fast-command" : "command";
|
"fast-command" : "command";
|
||||||
latencyAddSampleIfNeeded(latency_event,duration/1000);
|
latencyAddSampleIfNeeded(latency_event,duration/1000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user