Skip to content

Heartbeat can recover from an error condition.#201

Merged
jeremyowensboggs merged 3 commits intomasterfrom
add-logging-for-unexpected-heartbeat
Feb 27, 2024
Merged

Heartbeat can recover from an error condition.#201
jeremyowensboggs merged 3 commits intomasterfrom
add-logging-for-unexpected-heartbeat

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