Bump zeroconf timeout to 3000 (#6270)

This commit is contained in:
Jesse Hills 2024-02-22 14:26:00 +13:00 committed by GitHub
parent 127cbde2a2
commit a3fa1e6c52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,7 +110,7 @@ class DashboardImportDiscovery:
self, zeroconf: Zeroconf, info: AsyncServiceInfo, service_type: str, name: str self, zeroconf: Zeroconf, info: AsyncServiceInfo, service_type: str, name: str
) -> None: ) -> None:
"""Process a service info.""" """Process a service info."""
if await info.async_request(zeroconf, timeout=5): if await info.async_request(zeroconf, timeout=3000):
self._process_service_info(name, info) self._process_service_info(name, info)
def _process_service_info(self, name: str, info: ServiceInfo) -> None: def _process_service_info(self, name: str, info: ServiceInfo) -> None: