fix: allow native service proxy long requests

This commit is contained in:
Codex
2026-05-16 16:09:59 +00:00
parent d77a0e129a
commit daf0b6d315
2 changed files with 2 additions and 2 deletions
@@ -515,8 +515,7 @@ async function nativeServiceProxyResponse(
const headers = forwardHeaders(req);
const bodyText = req.method === "GET" || req.method === "HEAD" ? "" : await req.text();
const controller = new AbortController();
const nativeTimeoutMs = Math.min(timeoutMs, config.nativeServiceProbeTimeoutMs);
const timer = setTimeout(() => controller.abort(), nativeTimeoutMs);
const timer = setTimeout(() => controller.abort(), timeoutMs);
const startedAt = Date.now();
try {
const upstream = await fetch(upstreamUrl, {