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
|
||||
except asyncio.TimeoutError:
|
||||
self.lg.warning(f'timeout while requesting {url}')
|
||||
raise
|
||||
# await asyncio.sleep(1)
|
||||
# raise
|
||||
await asyncio.sleep(1)
|
||||
raise asyncio.TimeoutError('after 3 tries')
|
||||
|
||||
async def save(self):
|
||||
|
||||
Reference in New Issue
Block a user