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

[ARGO-229] Replaces error log with event emission when not connected to redis #28

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

niall3rs
Copy link
Contributor

Description

Now that ioredis automatically handles reconnection, we can gracefully reconnect e.g. when there is a Sentinel failover. There is no need to log an error when the client cannot reach Redis. Replacing the error log with an event emission, so the events can be consumed upstream and handled as required.

Also includes a minor bump of ioredis from 4.14 to 4.16

References

Risks

  • Medium: Disconnections are not notified, and the module fails silently
  • Rollback: Revert

@niall3rs niall3rs self-assigned this Feb 26, 2020
@niall3rs niall3rs force-pushed the ncolfer/emit-events-not-logging-error-for-reconnection branch from 6b42d31 to 3de9832 Compare February 28, 2020 11:43
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.

1 participant