mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-27 20:37:54 +00:00
Lower connection retries to 3
This commit is contained in:
parent
81d3d5956c
commit
b04bce9dba
@ -26,7 +26,7 @@ log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
class Connection:
|
class Connection:
|
||||||
MAX_RETRIES = 5
|
MAX_RETRIES = 3
|
||||||
|
|
||||||
MODES = {
|
MODES = {
|
||||||
0: TCPFull,
|
0: TCPFull,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user