Comment in the call() function clarified a bit.

This commit is contained in:
antirez
2013-01-10 11:19:40 +01:00
parent e2e36cf19b
commit 8a70007f9e

View File

@ -1529,8 +1529,9 @@ void call(redisClient *c, int flags) {
if (flags != REDIS_PROPAGATE_NONE) if (flags != REDIS_PROPAGATE_NONE)
propagate(c->cmd,c->db->id,c->argv,c->argc,flags); propagate(c->cmd,c->db->id,c->argv,c->argc,flags);
} }
/* Commands such as LPUSH or BRPOPLPUSH may propagate an additional
* PUSH command. */ /* Handle the alsoPropagate() API to handle commands that want to propagate
* multiple separated commands. */
if (server.also_propagate.numops) { if (server.also_propagate.numops) {
int j; int j;
redisOp *rop; redisOp *rop;