From 2ade5f6eeb4e9177868108e951b80d796c12373b Mon Sep 17 00:00:00 2001 From: KurimuzonAkuma Date: Thu, 1 Feb 2024 00:40:22 +0300 Subject: [PATCH] Increase watchdog interval to 15 minutes https://core.telegram.org/api/updates#recovering-gaps --- pyrogram/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client.py b/pyrogram/client.py index 1ea78b32..956b4499 100644 --- a/pyrogram/client.py +++ b/pyrogram/client.py @@ -201,7 +201,7 @@ class Client(Methods): WORKDIR = PARENT_DIR # Interval of seconds in which the updates watchdog will kick in - UPDATES_WATCHDOG_INTERVAL = 5 * 60 + UPDATES_WATCHDOG_INTERVAL = 15 * 60 MAX_CONCURRENT_TRANSMISSIONS = 1