提交 7d288d65 编写于 作者: P Pieter Noordhuis

LPUSHX, RPUSHX, LINSERT only work on non-empty lists, so there are no clients waiting for a push

上级 23d3a5fe
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册