Skip to content

Commit f133f00

Browse files
committed
docs: raise the runnable-example timeout to 360s
1 parent 76881db commit f133f00

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

website/roa-loader/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ async function getHash(source) {
2121
}
2222

2323
const memory = source.match(/playwright|puppeteer/i) ? 4096 : 1024;
24-
// The LlamaIndex example downloads a local embedding model and crawls pages in a
25-
// browser, so a cold start needs more than the default timeout to finish.
26-
const timeout = source.match(/HuggingFaceEmbedding/i) ? 300 : 180;
2724
const res = await fetch(signingUrl, {
2825
method: 'POST',
2926
body: JSON.stringify({
@@ -32,7 +29,7 @@ async function getHash(source) {
3229
build: 'latest',
3330
contentType: 'application/json; charset=utf-8',
3431
memory,
35-
timeout,
32+
timeout: 360,
3633
},
3734
}),
3835
headers: {

0 commit comments

Comments
 (0)