From: Pieter Noordhuis Date: Fri, 11 Jun 2010 15:35:48 +0000 (+0200) Subject: LPUSHX, RPUSHX, LINSERT only work on non-empty lists, so there are no clients waiting... X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/7d288d654793e867020b73d101c17d25bfbc256c LPUSHX, RPUSHX, LINSERT only work on non-empty lists, so there are no clients waiting for a push --- diff --git a/redis.c b/redis.c index b563c4d5..2b0e5d37 100644 --- a/redis.c +++ b/redis.c @@ -5219,10 +5219,6 @@ static void pushxGenericCommand(redisClient *c, robj *refval, robj *val, int whe if ((subject = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL || checkType(c,subject,REDIS_LIST)) return; - if (handleClientsWaitingListPush(c,c->argv[1],val)) { - addReply(c,shared.cone); - return; - } if (refval != NULL) { /* Note: we expect refval to be string-encoded because it is *not* the