Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zpop commands have score as second parameter not first #119

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

adam-fowler
Copy link
Member

@adam-fowler adam-fowler commented Feb 15, 2025

Fix zpop commands. They have been set to read the first value as the score when it is the second value.

See https://redis.io/docs/latest/commands/zpopmin/ for reference

I also fixed the bzpop commands as well and made sure the tests test for ordering of values and scores (previously value and score were the same so it didn't test if ordering was correct).

@adam-fowler adam-fowler added the 🔨 semver/patch No public API change. label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants