safrazik / vue-file-agent

The most beautiful and full featured file upload component for Vue JS
https://safrazik.github.io/vue-file-agent/
MIT License
731 stars 93 forks source link

Error 500 upload multiples images in parallel. #207

Open FuriosoJack opened 1 year ago

FuriosoJack commented 1 year ago

Is your feature request related to a problem? Please describe.

When multiple images are added and loaded but there are many more than 20 or 10, the loading of all of them starts at the same time and causes them to generate a 503 error on the server. Analyzing other libraries we could solve it by adding, instead of all being uploaded at the same time, multiple images should be loaded in series and not in parallel as is the case now.

Describe the solution you'd like In other words, the place to upload all 20 images at the same time is to start from position 0 to upload when the request is finished, go to the second one and so on so as not to overload the server. I am basing this idea on the uploader that wordpress has since I am using this library for a WordPress plugin that I create.

How could I add that functionality or if it already exists?

If the functionality does not exist, could you guide me as to which file to start modifying to make the modification and send the pull request if the author and the community think it is a good idea.