mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-13 20:40:36 +00:00
Periodically send ping/getState
This commit is contained in:
@@ -384,7 +384,6 @@ class MTProtoSender:
|
||||
__log__.debug('Receiving items from the network...')
|
||||
body = await self._connection.recv()
|
||||
except asyncio.TimeoutError:
|
||||
# TODO If nothing is received for a minute, send a request
|
||||
continue
|
||||
except Exception as e:
|
||||
if isinstance(e, ConnectionError):
|
||||
|
||||
Reference in New Issue
Block a user