projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23d3a5f
)
LPUSHX, RPUSHX, LINSERT only work on non-empty lists, so there are no clients waiting...
author
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Fri, 11 Jun 2010 15:35:48 +0000
(17:35 +0200)
committer
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Fri, 11 Jun 2010 15:35:48 +0000
(17:35 +0200)
redis.c
patch
|
blob
|
blame
|
history
diff --git
a/redis.c
b/redis.c
index b563c4d5c3d731c0952bfd4803e042d9845cc745..2b0e5d37a6164147adf195369086f784683d352c 100644
(file)
--- 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 ((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
if (refval != NULL) {
/* Note: we expect refval to be string-encoded because it is *not* the