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

HabitipyAsync does blocking I/O in the event loop #26

Open
tr4nt0r opened this issue May 18, 2024 · 0 comments
Open

HabitipyAsync does blocking I/O in the event loop #26

tr4nt0r opened this issue May 18, 2024 · 0 comments

Comments

@tr4nt0r
Copy link
Contributor

tr4nt0r commented May 18, 2024

Habitipy loads the apidoc definitions during instantiation from a file. When using HabitipyAsync this should be done in an executor instead of the event loop as I/O operations can block the event loop.

This was fixed in Home Assistant but should maybe addressed also in Habitipy.

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

No branches or pull requests

1 participant