Fixes BZ[REV]POP's arity

This commit is contained in:
Itamar Haber 2019-03-03 23:10:45 +02:00
parent 4edb1d7e10
commit cd2743c0e6

View File

@ -480,11 +480,11 @@ struct redisCommand redisCommandTable[] = {
"write fast @sortedset", "write fast @sortedset",
0,NULL,1,1,1,0,0,0}, 0,NULL,1,1,1,0,0,0},
{"bzpopmin",bzpopminCommand,-2, {"bzpopmin",bzpopminCommand,-3,
"write no-script fast @sortedset @blocking", "write no-script fast @sortedset @blocking",
0,NULL,1,-2,1,0,0,0}, 0,NULL,1,-2,1,0,0,0},
{"bzpopmax",bzpopmaxCommand,-2, {"bzpopmax",bzpopmaxCommand,-3,
"write no-script fast @sortedset @blocking", "write no-script fast @sortedset @blocking",
0,NULL,1,-2,1,0,0,0}, 0,NULL,1,-2,1,0,0,0},