We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45ac0cb commit 6f4937cCopy full SHA for 6f4937c
packages/thirdweb/src/storage/upload/mobile.ts
@@ -41,7 +41,7 @@ export async function uploadBatchMobile(
41
"Request to upload timed out! No upload progress received in 30s",
42
),
43
);
44
- }, 30000);
+ }, client.config?.storage?.fetch?.requestTimeoutMs ?? 30000);
45
46
xhr.upload.addEventListener("progress", (event) => {
47
clearTimeout(timer);
packages/thirdweb/src/storage/upload/web-node.ts
@@ -17,6 +17,7 @@ export async function uploadBatch<const TFiles extends UploadableFile[]>(
17
method: "POST",
18
headers,
19
body: form,
20
+ requestTimeoutMs: client.config?.storage?.fetch?.requestTimeoutMs,
21
},
22
23
0 commit comments