Import rest in the executor to avoid blocking the event loop (#111804)
fixes #111803 `2024-02-28 15:43:53.708 DEBUG (MainThread) [homeassistant.loader] Component rest import took 1.646 seconds (loaded_executor=False) `
This commit is contained in:
parent
aa183ed09e
commit
f44b759a99
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
"name": "RESTful",
|
||||
"codeowners": [],
|
||||
"documentation": "https://www.home-assistant.io/integrations/rest",
|
||||
"import_executor": true,
|
||||
"iot_class": "local_polling",
|
||||
"requirements": ["jsonpath==0.82.2", "xmltodict==0.13.0"]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue