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
J. Nick Koston 2024-02-28 16:02:25 -10:00 committed by GitHub
parent 7527e87e26
commit b40978597c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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"],