Skip to content

Commit

Permalink
Fix xTrim threshold parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored and isfedorov committed Jan 24, 2024
1 parent 8ea3bf4 commit 7f047a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -5527,7 +5527,7 @@ public function xRevRange($stream, $end, $start, $count = -1) {}
* (this is more efficient)
*
* @param string $stream The STREAM key to trim.
* @param string $threshold This can either be a maximum length, or a minimum id.
* @param int $threshold This can either be a maximum length, or a minimum id.
* MAXLEN - An integer describing the maximum desired length of the stream after the command.
* MINID - An ID that will become the new minimum ID in the stream, as Redis will trim all
* messages older than this ID.
Expand Down

0 comments on commit 7f047a9

Please sign in to comment.