20 lines
3.8 KiB
JavaScript
20 lines
3.8 KiB
JavaScript
"use strict";
|
|
// -------------------------------------------------------------
|
|
// WARNING: this file is used by both the client and the server.
|
|
// Do not use any browser or node-specific API!
|
|
// -------------------------------------------------------------
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.CHECK_STATUS_RETRY_DELAY = exports.SEND_STATUS_REQUEST_RETRY_COUNT = exports.SEND_STATUS_REQUEST_RETRY_DELAY = exports.SEND_STATUS_REQUEST_TIME_LIMIT = exports.CHECK_CHILD_WINDOW_DRIVER_LINK_DELAY = exports.CHECK_IFRAME_DRIVER_LINK_DELAY = exports.HEARTBEAT_INTERVAL = exports.REMOTE_BROWSER_INIT_TIMEOUT = exports.LOCAL_BROWSER_INIT_TIMEOUT = exports.BROWSER_CLOSE_TIMEOUT = exports.BROWSER_RESTART_TIMEOUT = exports.HEARTBEAT_TIMEOUT = void 0;
|
|
exports.HEARTBEAT_TIMEOUT = 2 * 60 * 1000;
|
|
exports.BROWSER_RESTART_TIMEOUT = 60 * 1000;
|
|
exports.BROWSER_CLOSE_TIMEOUT = exports.BROWSER_RESTART_TIMEOUT / 2;
|
|
exports.LOCAL_BROWSER_INIT_TIMEOUT = 2 * 60 * 1000;
|
|
exports.REMOTE_BROWSER_INIT_TIMEOUT = 6 * 60 * 1000;
|
|
exports.HEARTBEAT_INTERVAL = 2 * 1000;
|
|
exports.CHECK_IFRAME_DRIVER_LINK_DELAY = 500;
|
|
exports.CHECK_CHILD_WINDOW_DRIVER_LINK_DELAY = 500;
|
|
exports.SEND_STATUS_REQUEST_TIME_LIMIT = 5000;
|
|
exports.SEND_STATUS_REQUEST_RETRY_DELAY = 300;
|
|
exports.SEND_STATUS_REQUEST_RETRY_COUNT = Math.floor(exports.HEARTBEAT_TIMEOUT / exports.SEND_STATUS_REQUEST_RETRY_DELAY - 1);
|
|
exports.CHECK_STATUS_RETRY_DELAY = 1000;
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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