Merge pull request #5893 from itamarhaber/bzpop-arity

Fixes BZ[REV]POP's arity
This commit is contained in:
Salvatore Sanfilippo 2019-03-13 12:27:35 +01:00 committed by GitHub
commit 71499ab1c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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},