2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Increase OFFLINE_SLEEP to 15 minutes

This avoid frequent dialogs fetch while debugging with user accounts
This commit is contained in:
Dan 2019-05-06 16:36:57 +02:00
parent 6f2c625cd1
commit 01f0af6bb0

View File

@ -50,7 +50,7 @@ class BaseClient:
DIALOGS_AT_ONCE = 100
UPDATES_WORKERS = 1
DOWNLOAD_WORKERS = 1
OFFLINE_SLEEP = 300
OFFLINE_SLEEP = 900
WORKERS = 4
WORKDIR = "."
CONFIG_FILE = "./config.ini"