There was an error while loading. Please reload this page.
1 parent 76881db commit f133f00Copy full SHA for f133f00
1 file changed
website/roa-loader/index.js
@@ -21,9 +21,6 @@ async function getHash(source) {
21
}
22
23
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;
27
const res = await fetch(signingUrl, {
28
method: 'POST',
29
body: JSON.stringify({
@@ -32,7 +29,7 @@ async function getHash(source) {
32
build: 'latest',
33
30
contentType: 'application/json; charset=utf-8',
34
31
memory,
35
- timeout,
+ timeout: 360,
36
},
37
}),
38
headers: {
0 commit comments