Skip to content

Commit bc84e26

Browse files
committed
fix: some highlighted markdown content not synced
* The highlightedMarkdown was not yet uploaded when downloading so we should wait until the uploading to complete * Increase the download timeout to 10 mins
1 parent 69a8621 commit bc84e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const fetchContentForItems = async (
8282
item.content = await Promise.race([
8383
downloadFromUrl(c.downloadUrl),
8484
new Promise<string>(
85-
(_, reject) => setTimeout(() => reject('Timeout'), 60_000), // 60 seconds
85+
(_, reject) => setTimeout(() => reject('Timeout'), 600_000), // 10 minutes
8686
),
8787
])
8888
}),

0 commit comments

Comments
 (0)