Permalink
Browse files

Comment in the call() function clarified a bit.

  • Loading branch information...
1 parent b70b9c6 commit 023cbc3787674b1c874f5133e127258a8a4a1e80 @antirez committed Jan 10, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/redis.c
View
@@ -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;

0 comments on commit 023cbc3

Please sign in to comment.