Skip to content

Commit d5c2ca2

Browse files
committed
Use TCPAbridged (async) connection mode
1 parent 980807f commit d5c2ca2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/connection/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Connection:
3636
4: TCPIntermediateO
3737
}
3838

39-
def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 2):
39+
def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 1):
4040
self.dc_id = dc_id
4141
self.ipv6 = ipv6
4242
self.proxy = proxy

0 commit comments

Comments
 (0)