BRPOPLPUSH.

This commit is contained in:
Damian Janowski & Michel Martens
2010-11-08 15:25:59 -03:00
committed by Michel Martens
parent 8a979f0390
commit b2a7fd0cf7
4 changed files with 110 additions and 21 deletions

View File

@ -89,6 +89,7 @@ struct redisCommand readonlyCommandTable[] = {
{"rpop",rpopCommand,2,0,NULL,1,1,1},
{"lpop",lpopCommand,2,0,NULL,1,1,1},
{"brpop",brpopCommand,-3,0,NULL,1,1,1},
{"brpoplpush",brpoplpushCommand,4,REDIS_CMD_DENYOOM,NULL,1,2,1},
{"blpop",blpopCommand,-3,0,NULL,1,1,1},
{"llen",llenCommand,2,0,NULL,1,1,1},
{"lindex",lindexCommand,3,0,NULL,1,1,1},