mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 11:39:26 +02:00
Increaste timeout to 60s
This commit is contained in:
parent
d5d4005634
commit
68491fc7da
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ class IrmKmiCoordinator(TimestampDataUpdateCoordinator):
|
||||||
if frame.get('uri', None) is not None:
|
if frame.get('uri', None) is not None:
|
||||||
coroutines.append(
|
coroutines.append(
|
||||||
self._api_client.get_image(frame.get('uri'), params={'rs': STYLE_TO_PARAM_MAP[self._style]}))
|
self._api_client.get_image(frame.get('uri'), params={'rs': STYLE_TO_PARAM_MAP[self._style]}))
|
||||||
async with async_timeout.timeout(20):
|
async with async_timeout.timeout(60):
|
||||||
images_from_api = await asyncio.gather(*coroutines)
|
images_from_api = await asyncio.gather(*coroutines)
|
||||||
|
|
||||||
_LOGGER.debug(f"Just downloaded {len(images_from_api)} images")
|
_LOGGER.debug(f"Just downloaded {len(images_from_api)} images")
|
||||||
|
|
Loading…
Add table
Reference in a new issue