Skip to content

Commit

Permalink
Comment in the call() function clarified a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Jan 10, 2013
1 parent b70b9c6 commit 023cbc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1528,8 +1528,9 @@ void call(redisClient *c, int flags) {
if (flags != REDIS_PROPAGATE_NONE)
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) {
int j;
redisOp *rop;
Expand Down

0 comments on commit 023cbc3

Please sign in to comment.