From 1c312bcf9e56c39ac52b100cfd5b1974fe8eff26 Mon Sep 17 00:00:00 2001 From: taranvohra Date: Fri, 2 May 2025 15:22:54 +0530 Subject: [PATCH] Revert getPublishedContentByUrl timeout back to 10s --- packages/gitbook/src/lib/api.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/gitbook/src/lib/api.ts b/packages/gitbook/src/lib/api.ts index e04433dc55..ca3ce3b1f8 100644 --- a/packages/gitbook/src/lib/api.ts +++ b/packages/gitbook/src/lib/api.ts @@ -242,7 +242,6 @@ export const getLatestOpenAPISpecVersionContent = cache({ * Resolve a URL to the content to render. */ export const getPublishedContentByUrl = cache({ - timeout: 30 * 1000, name: 'api.getPublishedContentByUrl.v7', tag: (url) => getCacheTagForURL(url), get: async (