mirror of
https://github.com/fluencelabs/redis
synced 2025-06-29 08:51:33 +00:00
SLOWLOG: log offending client address and name.
This commit is contained in:
@ -2214,7 +2214,7 @@ void call(client *c, int flags) {
|
||||
char *latency_event = (c->cmd->flags & CMD_FAST) ?
|
||||
"fast-command" : "command";
|
||||
latencyAddSampleIfNeeded(latency_event,duration/1000);
|
||||
slowlogPushEntryIfNeeded(c->argv,c->argc,duration);
|
||||
slowlogPushEntryIfNeeded(c,c->argv,c->argc,duration);
|
||||
}
|
||||
if (flags & CMD_CALL_STATS) {
|
||||
c->lastcmd->microseconds += duration;
|
||||
|
Reference in New Issue
Block a user