Closed mwaqar666 closed 4 years ago
Problem Solved!! Actually all I did is this:
dropzoneOptions: {
maxFiles: 1000,
timeout: 100000,
maxFilesize: 100,
paramName: 'images',
addRemoveLinks: true,
uploadMultiple: true,
parallelUploads: 1000,
autoProcessQueue: false,
maxThumbnailFilesize: 100,
url: `${axios.defaults.baseURL}/admin/album/pictures`,
headers: { 'Authorization': `Bearer ${accessToken()}` },
error: this.dropzoneSubmissionError,
successmultiple: this.dropzoneMultipleSubmissionSuccess,
},
I just added parallel uploads
to my dropzoneOptions
and set that to maxFiles (you can set that whatever you want but make sure that no matter how many files you add at once, they all get uploaded parallely)
And that's it :) Hope it might help someone
Do you have full code of this solution?
Curently my code is failing on uploading 9 files of upto 32MB with following error:
Here are the dropzone configuration options that I've used:
Here is the
dropzone
tag:And here are the functions that are called by various events mentioned in
dropzone
tag:Furthermore, since I've logged the total progress in
vDropzoneTotalUploadProgress
function, that progress never exceeds 4.16Any help would be appreciated...