diff --git a/src/api/gramjs/worker/provider.ts b/src/api/gramjs/worker/provider.ts index 714a48cf..2198b896 100644 --- a/src/api/gramjs/worker/provider.ts +++ b/src/api/gramjs/worker/provider.ts @@ -13,7 +13,7 @@ type RequestStates = { callback?: AnyToVoidFunction; }; -const HEALTH_CHECK_TIMEOUT = 1000; // 1 sec +const HEALTH_CHECK_TIMEOUT = 250; const HEALTH_CHECK_MIN_DELAY = 5 * 1000; // 5 sec let worker: Worker;