optimize chunksize for uploading files

pull/19/head
Niko PLP 8 months ago
parent 1dbd931b0b
commit 5460a22737
  1. 2
      ng-app/src/lib/Test.svelte

@ -87,7 +87,7 @@
let fileinput;
function uploadFile(upload_id, nuri, file, success) {
let chunkSize = 1024 * 1024;
let chunkSize = 1048564;
let fileSize = file.size;
let offset = 0;
let readBlock = null;

Loading…
Cancel
Save