How many logs were there

This commit is contained in:
Lonami 2018-10-28 10:53:30 +01:00 committed by GitHub
parent 59307c70a0
commit d3a346c94b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,9 +317,7 @@ class MTProtoSender:
await self._connect()
except ConnectionError:
__log__.info('Failed reconnection retry %d/%d', retry, retries)
__log__.warning('Sleeping for {} seconds on failed attempt {}:'
.format(self._delay,retry))
await asyncio.sleep(self._delay)
await asyncio.sleep(self._delay)
else:
self._send_queue.extend(self._pending_state.values())
self._pending_state.clear()