XTRIM should take at least 4 args (#8549)
Fix command arity. Other than key name it must at least take the trimming strategy and it's limit
This commit is contained in:
parent
965356ae63
commit
aba61d9ebd
@ -1070,7 +1070,7 @@ struct redisCommand redisCommandTable[] = {
|
||||
"write fast @stream",
|
||||
0,NULL,1,1,1,0,0,0},
|
||||
|
||||
{"xtrim",xtrimCommand,-2,
|
||||
{"xtrim",xtrimCommand,-4,
|
||||
"write random @stream",
|
||||
0,NULL,1,1,1,0,0,0},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user