X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/c8a0070a611011c706e67da52a7f17ebfc0c0c1a..5fa95ad7639ae3f43e175d95a7d6384e4723b80e:/src/t_list.c diff --git a/src/t_list.c b/src/t_list.c index a47ab65c..b46b0494 100644 --- a/src/t_list.c +++ b/src/t_list.c @@ -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