diff options
Diffstat (limited to 'iredis/data/commands/bzpopmax.md')
-rw-r--r-- | iredis/data/commands/bzpopmax.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/iredis/data/commands/bzpopmax.md b/iredis/data/commands/bzpopmax.md index a061b0e..6ab6543 100644 --- a/iredis/data/commands/bzpopmax.md +++ b/iredis/data/commands/bzpopmax.md @@ -5,7 +5,7 @@ members to pop from any of the given sorted sets. A member with the highest score is popped from first sorted set that is non-empty, with the given keys being checked in the order that they are given. -The `timeout` argument is interpreted as an integer value specifying the maximum +The `timeout` argument is interpreted as a double value specifying the maximum number of seconds to block. A timeout of zero can be used to block indefinitely. See the [BZPOPMIN documentation][cb] for the exact semantics, since `BZPOPMAX` @@ -23,6 +23,10 @@ with the highest scores instead of popping the ones with the lowest scores. where a member was popped, the second element is the popped member itself, and the third element is the score of the popped element. +@history + +- `>= 6.0`: `timeout` is interpreted as a double instead of an integer. + @examples ``` |