fix(admin): cap get_version and get_user waits at 10s

Keep the longer overlay window, but stop waiting 20–25s per bootstrap request.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-01 21:56:52 +03:30
co-authored by Cursor
parent 7245812d1a
commit 509d26d04b
+2 -2
View File
@@ -23,8 +23,8 @@
const AUTH_TOKEN_KEY = 'peransa_token';
const VERSION_RETRY_ROUNDS = 3;
const CONFIG_RETRY_ROUNDS = 3;
const VERSION_FETCH_TIMEOUT_MS = 20000;
const CONFIG_FETCH_TIMEOUT_MS = 25000;
const VERSION_FETCH_TIMEOUT_MS = 10000;
const CONFIG_FETCH_TIMEOUT_MS = 10000;
const CONFIG_TIMEOUT = 60000;
let configTimeoutId;