Increase timeout to 30 seconds for Mazda integration (#92744)

This commit is contained in:
Brandon Rothweiler 2023-05-07 11:32:11 -04:00 committed by GitHub
parent 266905a9d3
commit bfb38d2f9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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