From 481e4ee3396d5b6f79362fd9ae6e8f66e5c86eb6 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 8 Sep 2019 11:59:26 +0200 Subject: [PATCH] Set the updates workers pool from 1 to 4 --- 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 260d58fc..3d9f85e8 100644 --- a/pyrogram/client/ext/base_client.py +++ b/pyrogram/client/ext/base_client.py @@ -51,7 +51,7 @@ class BaseClient: INVITE_LINK_RE = re.compile(r"^(?:https?://)?(?:www\.)?(?:t(?:elegram)?\.(?:org|me|dog)/joinchat/)([\w-]+)$") DIALOGS_AT_ONCE = 100 - UPDATES_WORKERS = 1 + UPDATES_WORKERS = 4 DOWNLOAD_WORKERS = 1 OFFLINE_SLEEP = 900 WORKERS = 4