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

Redis: Fix compatibility with node-redis v4 #5

Closed
wants to merge 1 commit into from

Conversation

pipe1404
Copy link

node-redis v4 has made some breaking changes (vs v3).
Please see this. So, I have updated setup method and added a property in README.
Can you review this change? Thank you.

@jhuckaby
Copy link
Owner

Thank you for your PR.

Note that the new connect() method is async, so we'll have to await it, and convert the outer function to async.

@jhuckaby
Copy link
Owner

Wait... never mind... I think... Since we're listening for the connect event, and firing the callback in that event handler, I guess this all works itself out, and we don't need an async/await on connect.

Please give me some time to test this before merging.

@jhuckaby
Copy link
Owner

So, I've redesigned the Redis storage engine to the ioredis package from NPM. It is much, much better than node-redis, and I am already using it for the RedisCluster storage engine. I always intended to standardize both engines on ioredis, I just didn't have the time.

This is a drop-in replacement. All you should need to do on your end is npm install ioredis and everything should just work.

@pipe1404
Copy link
Author

pipe1404 commented Mar 12, 2024 via email

@jhuckaby
Copy link
Owner

Hmm, I've never tested Cronicle with a Redis backend, and it is not currently supported. Your mileage may vary.

@jhuckaby jhuckaby closed this May 28, 2024
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.

None yet

2 participants