This commit is contained in:
andvikt
2021-10-29 09:13:48 +03:00
parent f6c2cd025e
commit 2020a840a8

View File

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