From 01f0af6bb033fa8468bc495d5afb4b3009288037 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 6 May 2019 16:36:57 +0200 Subject: [PATCH] Increase OFFLINE_SLEEP to 15 minutes This avoid frequent dialogs fetch while debugging with user accounts --- pyrogram/client/ext/base_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/ext/base_client.py b/pyrogram/client/ext/base_client.py index b4bfbd6b..ee7b2c24 100644 --- a/pyrogram/client/ext/base_client.py +++ b/pyrogram/client/ext/base_client.py @@ -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"