]> git.saurik.com Git - redis.git/blobdiff - src/t_list.c
Rename blpop_blocked_clients to bpop_blocked_clients
[redis.git] / src / t_list.c
index a47ab65c854c5c462b3aaecb1d2a12510b71177e..b46b0494370637b365024a950be4b4eec9f9bae2 100644 (file)
@@ -725,7 +725,7 @@ void blockForKeys(redisClient *c, robj **keys, int numkeys, time_t timeout, robj
     }
     /* Mark the client as a blocked client */
     c->flags |= REDIS_BLOCKED;
-    server.blpop_blocked_clients++;
+    server.bpop_blocked_clients++;
 }
 
 /* Unblock a client that's waiting in a blocking operation such as BLPOP */
@@ -753,7 +753,7 @@ void unblockClientWaitingData(redisClient *c) {
     c->bpop.keys = NULL;
     c->bpop.target = NULL;
     c->flags &= (~REDIS_BLOCKED);
-    server.blpop_blocked_clients--;
+    server.bpop_blocked_clients--;
     /* We want to process data if there is some command waiting
      * in the input buffer. Note that this is safe even if
      * unblockClientWaitingData() gets called from freeClient() because