Skip to content

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.

2 participants