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

Fixed endless loop causing 100% cpu usage #390

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

michaelmittermair
Copy link
Contributor

The sleep is outside the loop. This lead on a raspberry to hit 100% of cpu usage just for the gateway

The sleep is outside the loop. This lead on a raspberry to hit 100% just for the gateway
@michaelmittermair michaelmittermair changed the title Update mqtt_gateway.py Fixed endless loop causing 100% cpu usage Jul 24, 2023
@mschlenstedt
Copy link
Contributor

@michaelmittermair is absolutely right. I can confirm that.

@jasonacox jasonacox merged commit 38a193d into jasonacox:master Jul 25, 2023
@jasonacox
Copy link
Owner

Thanks @michaelmittermair ! 🙏

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