-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Wrong typing for maxRetriesPerRequest
in ioredis v5?
#1550
Comments
Yeah it's a bug. The option should accept |
luin
added a commit
that referenced
this issue
Mar 30, 2022
luin
added a commit
that referenced
this issue
Mar 30, 2022
🎉 This issue has been resolved in version 5.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
janus-dev87
added a commit
to janus-dev87/ioredis-work
that referenced
this issue
Mar 1, 2024
## [5.0.2](redis/ioredis@v5.0.1...v5.0.2) (2022-03-30) ### Bug Fixes * allow option maxRetriesPerRequest to be null ([#1553](redis/ioredis#1553)) ([d62a808](redis/ioredis@d62a808)), closes [#1550](redis/ioredis#1550) * support TypeScript interface as parameters of hmset and mset ([#1545](redis/ioredis#1545)) ([3444791](redis/ioredis@3444791)), closes [#1536](redis/ioredis#1536)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation states that we may set
maxRetriesPerRequest
tonull
to get pre-v4 behaviour:Unfortunately, the types included in v5 only allow
number
values for this option. Is this a bug?The text was updated successfully, but these errors were encountered: