mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-30 05:13:45 +03:00
Set default TelegramBareClient behaviour to not spawn ReadThread
This commit is contained in:
parent
0a567fcd7c
commit
18e485ded2
|
@ -68,7 +68,7 @@ class TelegramBareClient:
|
||||||
connection_mode=ConnectionMode.TCP_FULL,
|
connection_mode=ConnectionMode.TCP_FULL,
|
||||||
proxy=None,
|
proxy=None,
|
||||||
update_workers=None,
|
update_workers=None,
|
||||||
spawn_read_thread=True,
|
spawn_read_thread=False,
|
||||||
timeout=timedelta(seconds=5),
|
timeout=timedelta(seconds=5),
|
||||||
**kwargs):
|
**kwargs):
|
||||||
"""Refer to TelegramClient.__init__ for docs on this method"""
|
"""Refer to TelegramClient.__init__ for docs on this method"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user