diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:20:07 +0000 |
commit | dd874ab02db04853d4b5952712ab34693f9a93de (patch) | |
tree | 4b4e05d004da14862aa1680cf761476fa2b4a05c /iredis/data/commands/bzpopmax.md | |
parent | Releasing debian version 1.12.1-1. (diff) | |
download | iredis-dd874ab02db04853d4b5952712ab34693f9a93de.tar.xz iredis-dd874ab02db04853d4b5952712ab34693f9a93de.zip |
Merging upstream version 1.13.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/bzpopmax.md')
-rw-r--r-- | iredis/data/commands/bzpopmax.md | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/iredis/data/commands/bzpopmax.md b/iredis/data/commands/bzpopmax.md index 6ab6543..8155ed8 100644 --- a/iredis/data/commands/bzpopmax.md +++ b/iredis/data/commands/bzpopmax.md @@ -1,9 +1,9 @@ `BZPOPMAX` is the blocking variant of the sorted set `ZPOPMAX` primitive. It is the blocking version because it blocks the connection when there are no -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. +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 a double value specifying the maximum number of seconds to block. A timeout of zero can be used to block indefinitely. @@ -18,14 +18,10 @@ with the highest scores instead of popping the ones with the lowest scores. @array-reply: specifically: -- A `nil` multi-bulk when no element could be popped and the timeout expired. -- A three-element multi-bulk with the first element being the name of the key - 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. +* A `nil` multi-bulk when no element could be popped and the timeout expired. +* A three-element multi-bulk with the first element being the name of the key + where a member was popped, the second element is the popped member itself, + and the third element is the score of the popped element. @examples |