-
-
Notifications
You must be signed in to change notification settings - Fork 351
Open
Description
I can not uload a large file. I think there is a memory crash on large file upload. Is there any config to solve my issue?
here is my configuration
projectFileFlowConfig = {
uploadMethod: "PUT",
testChunks: false,
speedSmoothingFactor: 0.02,
simultaneousUploads: 1,
headers: {
"Content-Type": "application/zip"
},
preprocess: (chunk: any) => {
const value = uuidv4();
const blockId = btoa(value);
chunk.flowObj.opts.query["blockIds"].push(blockId);
chunk.flowObj.opts.target =
chunk.flowObj.opts.query["urlWithSas"] +
`&comp=block&blockid=${blockId}`;
chunk.preprocessFinished();
}
};
Metadata
Metadata
Assignees
Labels
No labels