mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 09:41:21 +00:00
Better MONITOR output, now includes client ip:port or the lua string if the command was executed by the scripting engine.
This commit is contained in:
@ -1248,7 +1248,7 @@ void call(redisClient *c, int flags) {
|
||||
/* Sent the command to clients in MONITOR mode, only if the commands are
|
||||
* not geneated from reading an AOF. */
|
||||
if (listLength(server.monitors) && !server.loading)
|
||||
replicationFeedMonitors(server.monitors,c->db->id,c->argv,c->argc);
|
||||
replicationFeedMonitors(c,server.monitors,c->db->id,c->argv,c->argc);
|
||||
|
||||
/* Call the command. */
|
||||
redisOpArrayInit(&server.also_propagate);
|
||||
|
Reference in New Issue
Block a user