mirror of
https://github.com/home-assistant/core.git
synced 2026-08-31 18:24:50 -05:00
Increase timeout to 30 seconds for Mazda integration (#92744)
This commit is contained in:
@@ -51,7 +51,7 @@ PLATFORMS = [
|
||||
]
|
||||
|
||||
|
||||
async def with_timeout(task, timeout_seconds=10):
|
||||
async def with_timeout(task, timeout_seconds=30):
|
||||
"""Run an async task with a timeout."""
|
||||
async with async_timeout.timeout(timeout_seconds):
|
||||
return await task
|
||||
|
||||
Reference in New Issue
Block a user