mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-11 00:54:28 +05:00
timeouts
This commit is contained in:
@@ -310,8 +310,8 @@ class MegaD:
|
|||||||
return ret
|
return ret
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
self.lg.warning(f'timeout while requesting {url}')
|
self.lg.warning(f'timeout while requesting {url}')
|
||||||
raise
|
# raise
|
||||||
# await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
raise asyncio.TimeoutError('after 3 tries')
|
raise asyncio.TimeoutError('after 3 tries')
|
||||||
|
|
||||||
async def save(self):
|
async def save(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user