New vararg BLPOP able to block against multiple keys

This commit is contained in:
antirez
2010-01-02 09:06:44 -05:00
parent 58d976b8e8
commit b177fd30ac
4 changed files with 103 additions and 52 deletions

View File

@ -71,8 +71,8 @@ static struct redisCommand cmdTable[] = {
{"lpush",3,REDIS_CMD_BULK},
{"rpop",2,REDIS_CMD_INLINE},
{"lpop",2,REDIS_CMD_INLINE},
{"brpop",3,REDIS_CMD_INLINE},
{"blpop",3,REDIS_CMD_INLINE},
{"brpop",-3,REDIS_CMD_INLINE},
{"blpop",-3,REDIS_CMD_INLINE},
{"llen",2,REDIS_CMD_INLINE},
{"lindex",3,REDIS_CMD_INLINE},
{"lset",4,REDIS_CMD_BULK},