Import discord in the executor to avoid blocking the event loop (#111790)
`2024-02-28 19:20:04.485 DEBUG (MainThread) [homeassistant.loader] Component discord import took 1.181 seconds (loaded_executor=False)`pull/111791/head
parent
7527e87e26
commit
b40978597c
|
@ -4,6 +4,7 @@
|
|||
"codeowners": ["@tkdrob"],
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/discord",
|
||||
"import_executor": true,
|
||||
"integration_type": "service",
|
||||
"iot_class": "cloud_push",
|
||||
"loggers": ["discord"],
|
||||
|
|
Loading…
Reference in New Issue