Increase timeout to 30 seconds for Mazda integration (#92744)
This commit is contained in:
parent
266905a9d3
commit
bfb38d2f9c
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
"""Run an async task with a timeout."""
|
||||||
async with async_timeout.timeout(timeout_seconds):
|
async with async_timeout.timeout(timeout_seconds):
|
||||||
return await task
|
return await task
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue