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

Expiration time integer types inconsistent with SetExpiry #1150

Closed
ahmadbky opened this issue Apr 15, 2024 · 2 comments · Fixed by #1152
Closed

Expiration time integer types inconsistent with SetExpiry #1150

ahmadbky opened this issue Apr 15, 2024 · 2 comments · Fixed by #1152

Comments

@ahmadbky
Copy link
Contributor

ahmadbky commented Apr 15, 2024

Hello, I just noticed that the integer types for the expiration times were not updated for the SetExpiry enum, which still relies on usizes (see #589).

I believe it needs an update too, but I can't tell if these can accept negative values or not.

Thanks 😄

@jaymell
Copy link
Contributor

jaymell commented Apr 17, 2024

None of these will be negative, so changing them to u64 is appropriate I think. Wanna open a PR?

@ahmadbky
Copy link
Contributor Author

Yes no problem, I can do it.

ahmadbky added a commit to ahmadbky/redis-rs that referenced this issue Apr 17, 2024
barshaul pushed a commit to barshaul/redis-rs that referenced this issue Jul 11, 2024
Node: added zrank and zrankWithScore commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants