mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Tweak Session timeouts
This commit is contained in:
parent
283246a6b8
commit
245b7e653d
@ -45,7 +45,7 @@ class Result:
|
|||||||
|
|
||||||
|
|
||||||
class Session:
|
class Session:
|
||||||
START_TIMEOUT = 5
|
START_TIMEOUT = 2
|
||||||
WAIT_TIMEOUT = 15
|
WAIT_TIMEOUT = 15
|
||||||
SLEEP_THRESHOLD = 10
|
SLEEP_THRESHOLD = 10
|
||||||
MAX_RETRIES = 10
|
MAX_RETRIES = 10
|
||||||
|
Loading…
Reference in New Issue
Block a user