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: the behavior of subscription in pubsub when nodes are unstable #396

Merged
merged 2 commits into from
Oct 13, 2024

Conversation

supercaracal
Copy link
Member

@supercaracal supercaracal commented Oct 13, 2024

  • Don't clear subscribed messages while recovering subscriptions to prevent lost backlogs.
  • Sleep some duration for mitigating CPU consumption while repeating the same error such as ConnectionError.

@supercaracal supercaracal changed the title fix: the behavior of subscription in pubsub when the node is unstable fix: the behavior of subscription in pubsub when nodes are unstable Oct 13, 2024
@supercaracal supercaracal marked this pull request as ready for review October 13, 2024 23:42
@supercaracal supercaracal merged commit 6f40d8b into redis-rb:master Oct 13, 2024
33 checks passed
@supercaracal supercaracal deleted the fix-pubsub branch October 13, 2024 23:42
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