-
Notifications
You must be signed in to change notification settings - Fork 55
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
Blocking stat() calls in the event loop #347
Comments
This has been fixed in v3.0.5.2 released a few weeks ago. |
It looks like the open was fixed but the stat call via exists remains |
I’ll check that out but wonder why I’m not getting the warning. |
We haven't merged the check for stat calls yet so only open is being checked. |
If you want to check the rest of the code, you can use this branch home-assistant/core#120273 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
icloud3/custom_components/icloud3/helpers/common.py
Line 285 in ed91778
icloud3/custom_components/icloud3/helpers/common.py
Line 302 in ed91778
It looks like there are a few places that will do a blocking
stat()
syscall in this file.Home Assistant will be able to detect and warn about these in the future.
https://developers.home-assistant.io/docs/asyncio_blocking_operations#stat
The text was updated successfully, but these errors were encountered: