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

Fix redis-connection: add error event in waitUntilReady #675

Merged
merged 2 commits into from
Aug 6, 2021

Conversation

roggervalf
Copy link
Collaborator

Following #666 I tried to address this issue, so I don't see this log

[ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16)

anymore when running the test

Copy link
Contributor

@manast manast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I think in the future we should improve this class so that it is actually possible to instantiate it even if Redis is temporarily unavailable.

@manast manast merged commit 9872ce1 into taskforcesh:master Aug 6, 2021
@manast manast deleted the fix-unhandled-error-event branch August 6, 2021 14:40
@github-actions
Copy link

github-actions bot commented Aug 6, 2021

🎉 This PR is included in version 1.40.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants