habitipy icon indicating copy to clipboard operation
habitipy copied to clipboard

HabitipyAsync does blocking I/O in the event loop

Open tr4nt0r opened this issue 9 months ago • 0 comments

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.

  • https://github.com/home-assistant/core/pull/117647

tr4nt0r avatar May 18 '24 13:05 tr4nt0r