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

Heartbeat can recover from an error condition. #201

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

jeremyowensboggs
Copy link
Collaborator

If the faktory server restarted, and we received an error from an attempted heartbeat, the heartbeat server would stop sending a heartbeat. This behavior looks like an oversight, the real goal was to continue the heartbeat until the worker was shutdown, or received a terminate request.

To fix, I included the error state in the list of states in which a heartbeat should be sent.

@jeremyowensboggs jeremyowensboggs merged commit e41a140 into master Feb 27, 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.

3 participants