mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-13 09:37:29 +01:00
Service Worker: Fix freezing on new version (follow-up)
This commit is contained in:
parent
b1f73375e9
commit
bf51584f7f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user