File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ import type { QaTransportAdapter } from "./qa-transport.js";
4444export type { QaCliBackendAuthMode } from "./providers/env.js" ;
4545const QA_GATEWAY_CHILD_STARTUP_MAX_ATTEMPTS = 5 ;
4646const QA_GATEWAY_CHILD_RPC_RETRY_HEALTH_TIMEOUT_MS = 60_000 ;
47+ const QA_GATEWAY_CHILD_RESTART_BOUNDARY_TIMEOUT_MS = 90_000 ;
4748const QA_GATEWAY_CHILD_BLOCKED_SECRET_ENV_VARS = Object . freeze ( [
4849 "OPENCLAW_QA_CONVEX_SECRET_CI" ,
4950 "OPENCLAW_QA_CONVEX_SECRET_MAINTAINER" ,
@@ -276,7 +277,7 @@ async function waitForQaGatewayRestartBoundary(params: {
276277 pollMs ?: number ;
277278 timeoutMs ?: number ;
278279} ) {
279- const timeoutMs = params . timeoutMs ?? 30_000 ;
280+ const timeoutMs = params . timeoutMs ?? QA_GATEWAY_CHILD_RESTART_BOUNDARY_TIMEOUT_MS ;
280281 const pollMs = params . pollMs ?? 100 ;
281282 const startedAt = Date . now ( ) ;
282283 while ( Date . now ( ) - startedAt < timeoutMs ) {
You can’t perform that action at this time.
0 commit comments