Skip to content

Commit 31fa9b7

Browse files
authored
Increase AI search timeout from 4s to 9s (#60618)
1 parent a9d355b commit 31fa9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search/lib/ai-search-proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { handleExternalSearchAnalytics } from '@/search/lib/helpers/external-sea
99
// Maximum time (ms) to wait for the initial response from the upstream
1010
// AI search service. Streaming may take longer once the connection is
1111
// established, but the connect + first-byte must complete within this window.
12-
const AI_SEARCH_TIMEOUT_MS = 4_000
12+
const AI_SEARCH_TIMEOUT_MS = 9_000
1313

1414
export const aiSearchProxy = async (req: ExtendedRequest, res: Response) => {
1515
const { query, version } = req.body ?? {}

0 commit comments

Comments
 (0)