fix and update
This commit is contained in:
@@ -677,7 +677,7 @@ export function buildSystemSettingPayload(setting: Pick<SystemSetting, 'key' | '
|
||||
}
|
||||
|
||||
const GATEWAY_RETRY_STATUS = new Set([502, 503, 504]);
|
||||
const GATEWAY_RETRY_ATTEMPTS = 4;
|
||||
const GATEWAY_RETRY_ATTEMPTS = 2;
|
||||
const GATEWAY_STABLE_PROBE_INTERVAL_MS = 800;
|
||||
const GATEWAY_STABLE_MAX_ROUNDS = 8;
|
||||
const API_MAX_CONCURRENT = 6;
|
||||
@@ -827,7 +827,7 @@ export async function ensureApiGatewayReady(force = false): Promise<void> {
|
||||
}
|
||||
|
||||
function gatewayRetryDelay(attempt: number): number {
|
||||
return 800 + attempt * 700;
|
||||
return 600 + attempt * 500;
|
||||
}
|
||||
|
||||
/** Повтор при кратковременном 502/503/504 без сброса всего UI в bootstrap. */
|
||||
|
||||
Reference in New Issue
Block a user