mirror of
https://github.com/home-assistant/core.git
synced 2025-08-16 02:51:40 +02:00
Import dhcp in the executor to avoid blocking the event loop (#111589)
Discovery integrations load a lot earlier when many modules are not yet loaded so they have a lot less overlapping deps dhcp uses scapy which is large to import. I hope one day to replace it with something more lightweight
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
"name": "DHCP Discovery",
|
"name": "DHCP Discovery",
|
||||||
"codeowners": ["@bdraco"],
|
"codeowners": ["@bdraco"],
|
||||||
"documentation": "https://www.home-assistant.io/integrations/dhcp",
|
"documentation": "https://www.home-assistant.io/integrations/dhcp",
|
||||||
|
"import_executor": true,
|
||||||
"integration_type": "system",
|
"integration_type": "system",
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"loggers": [
|
"loggers": [
|
||||||
|
Reference in New Issue
Block a user