mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
863d2e8368
There was a race condition between TelegramBareClient.invoke receiving part and MtProtoSender._handle_rpc_result actually reading the result after setting request.confirmed = True. The .confirmed is now a threading.Event to avoid the sleep(0.1). RPC errors have been moved inside the request so they're not raised on a background thread anymore. |
||
---|---|---|
.. | ||
__init__.py | ||
authenticator.py | ||
connection.py | ||
mtproto_plain_sender.py | ||
mtproto_sender.py |