Skip to content

Commit

Permalink
Changed upload chunk size to 10 megabytes
Browse files Browse the repository at this point in the history
  • Loading branch information
CandelR committed Feb 19, 2025
1 parent 6ec7105 commit d4bfd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/network/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function uploadFile(bucketId: string, params: IUploadParams): Promi

const minimumMultipartThreshold = 100 * 1024 * 1024;
const useMultipart = params.filesize > minimumMultipartThreshold;
const partSize = 30 * 1024 * 1024;
const partSize = 10 * 1024 * 1024;

console.time('multipart-upload');

Expand Down

0 comments on commit d4bfd69

Please sign in to comment.