fix: adjust startup gap timing from 30-60 seconds to 15-30 seconds

This commit is contained in:
ZareMate 2026-04-01 18:55:30 +02:00
parent 922ca38511
commit 95a74d7a34

View File

@ -12,8 +12,8 @@ const OUTPUT_MODE = (
const SPLIT_LOGS_ENABLED = process.env.PARENT_SPLIT_LOGS === "1"; const SPLIT_LOGS_ENABLED = process.env.PARENT_SPLIT_LOGS === "1";
const RESTART_MIN_MS = 2 * 60 * 1000; const RESTART_MIN_MS = 2 * 60 * 1000;
const RESTART_MAX_MS = 5 * 60 * 1000; const RESTART_MAX_MS = 5 * 60 * 1000;
const STARTUP_GAP_MIN_MS = 30 * 1000; const STARTUP_GAP_MIN_MS = 15 * 1000;
const STARTUP_GAP_MAX_MS = 60 * 1000; const STARTUP_GAP_MAX_MS = 30 * 1000;
const ALREADY_ONLINE_TEXT = "You are already online, try restarting your game."; const ALREADY_ONLINE_TEXT = "You are already online, try restarting your game.";
const TIMEOUT_REGEX = /timeout|timed out|ETIMEDOUT|ECONNRESET|socket hang up/i; const TIMEOUT_REGEX = /timeout|timed out|ETIMEDOUT|ECONNRESET|socket hang up/i;