Adjust iOS worker health check timeout

This commit is contained in:
Alexander Zinchuk 2021-08-20 23:47:11 +03:00
parent deb5834db8
commit ab931dd3dd

View File

@ -13,7 +13,7 @@ type RequestStates = {
callback?: AnyToVoidFunction; callback?: AnyToVoidFunction;
}; };
const HEALTH_CHECK_TIMEOUT = 250; const HEALTH_CHECK_TIMEOUT = 150;
const HEALTH_CHECK_MIN_DELAY = 5 * 1000; // 5 sec const HEALTH_CHECK_MIN_DELAY = 5 * 1000; // 5 sec
let worker: Worker; let worker: Worker;