Skip to content

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

@tr4nt0r

Description

@tr4nt0r

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions