-
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
Typescript woes with Pipeline #1584
Comments
Hey @pvogel1967 👋 The |
luin
added a commit
that referenced
this issue
May 21, 2022
luin
added a commit
that referenced
this issue
May 21, 2022
luin
added a commit
that referenced
this issue
May 21, 2022
Thanks @luin! |
luin
added a commit
that referenced
this issue
May 31, 2022
🎉 This issue has been resolved in version 5.0.6 🎉 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.6](redis/ioredis@v5.0.5...v5.0.6) (2022-05-31) ### Bug Fixes * Add back Pipeline#length ([#1585](redis/ioredis#1585)) ([63b2ee4](redis/ioredis@63b2ee4)), closes [#1584](redis/ioredis#1584)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ioredis 4, the "Redis.Pipeline" type had a "length" parameter, so I could do things like this:
In ioredis 5 there doesn't seem to be a way to check the length of the pipeline? This is a problem because I have several places where I'm doing a bunch of work in a loop, pumping it into a pipeline and when the length hits a threshold doing an
await pipeline.exec()
, then creating a fresh pipeline and the loop continues...The text was updated successfully, but these errors were encountered: