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

Disable heater if it appears main thread has stopped updating #6777

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

KevinOConnor
Copy link
Collaborator

Update the heating code to periodically check that the main thread is operating properly. This is a mitigation for some rare cases where the main thread may lockup while the background heater updating code continues to run. The goal is to detect these rare failures and disable future heater updates.

This was discussed at https://klipper.discourse.group/t/bug-klipper-does-not-properly-turn-off-heaters-on-host-crash/20015

-Kevin

Update the heating code to periodically check that the main thread is
operating properly.  This is a mitigation for some rare cases where
the main thread may lockup while the background heater updating code
continues to run.  The goal is to detect these rare failures and
disable future heater updates.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
@KevinOConnor KevinOConnor force-pushed the work-heateroff-20241217 branch from 6b2f915 to aae29ba Compare January 10, 2025 17:22
@KevinOConnor KevinOConnor merged commit aae29ba into master Jan 10, 2025
2 checks passed
@KevinOConnor KevinOConnor deleted the work-heateroff-20241217 branch January 10, 2025 17:25
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