Skip to content

Conversation

mdumandag
Copy link
Contributor

Since it can be quite big, sending it as a number can cause it to be larger than the max safe integer value in JSON, and result in unpredictable iteration.

Instead, it is now converted to string.

We don't have to do it for other scan commands, their cursor values are small, but I have done it anyways to be on the safe side.

Since it can be quite big, sending it as a number can cause it
to be larger than the max safe integer value in JSON, and result
in unpredictable iteration.

Instead, it is now converted to string.

We don't have to do it for other scan commands, their cursor values
are small, but I have done it anyways to be on the safe side.
@fahreddinozcan fahreddinozcan merged commit eb24e6c into main Sep 12, 2024
1 check passed
@mdumandag mdumandag deleted the scan-cursor branch September 12, 2024 14:23
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 this pull request may close these issues.

2 participants