From 5a69692f543e7ab7ca6bc364557e85a762d5bdae Mon Sep 17 00:00:00 2001 From: Taran Vohra Date: Wed, 30 Apr 2025 19:14:09 +0530 Subject: [PATCH] Temporarily bump getPublishedContentByUrl timeout to 30s on v1 (#3199) --- packages/gitbook/src/lib/api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gitbook/src/lib/api.ts b/packages/gitbook/src/lib/api.ts index ca3ce3b1f..e04433dc5 100644 --- a/packages/gitbook/src/lib/api.ts +++ b/packages/gitbook/src/lib/api.ts @@ -242,6 +242,7 @@ 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 (