{"action":"closed","issue":{"url":"https://api.github.com/repos/lian-yue/vue-upload-component/issues/51","repository_url":"https://api.github.com/repos/lian-yue/vue-upload-component","labels_url":"https://api.github.com/repos/lian-yue/vue-upload-component/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/lian-yue/vue-upload-component/issues/51/comments","events_url":"https://api.github.com/repos/lian-yue/vue-upload-component/issues/51/events","html_url":"https://github.com/lian-yue/vue-upload-component/issues/51","id":221569478,"number":51,"title":"Issue: Threaded Upload","user":{"login":"abishekrsrikaanth","id":1639302,"avatar_url":"https://avatars0.githubusercontent.com/u/1639302?v=3","gravatar_id":"","url":"https://api.github.com/users/abishekrsrikaanth","html_url":"https://github.com/abishekrsrikaanth","followers_url":"https://api.github.com/users/abishekrsrikaanth/followers","following_url":"https://api.github.com/users/abishekrsrikaanth/following{/other_user}","gists_url":"https://api.github.com/users/abishekrsrikaanth/gists{/gist_id}","starred_url":"https://api.github.com/users/abishekrsrikaanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abishekrsrikaanth/subscriptions","organizations_url":"https://api.github.com/users/abishekrsrikaanth/orgs","repos_url":"https://api.github.com/users/abishekrsrikaanth/repos","events_url":"https://api.github.com/users/abishekrsrikaanth/events{/privacy}","received_events_url":"https://api.github.com/users/abishekrsrikaanth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-13T13:51:24Z","updated_at":"2017-06-19T14:13:30Z","closed_at":"2017-06-19T14:13:30Z","body":"@lian-yue, so far it has been quite fun working with this component but noticed two additional issues with simultaneous uploads. The current version I am on is `2.3.0-beta.2`\r\n\r\n1. So, let's say I have 10 files to upload and I set the thread to 4. When I initiate the upload, it uploads the first 4, but the next 4 starts only after the completion of the first 4. Is there a way to keep continuity, so if 2 on the first session gets uploaded, then it automatically starts 2 more. At any point, there will be 4 simultaneous uploads instead of 4 at a time. I hope that makes sense. \r\n\r\n2. When I have the thread set to 4 and if I try to upload files less than 3, then file upload fails. If I upload 3 files then the upload works.\r\n\r\n3. When the thread is set to 4 and if I upload 5 files, the first 4 files are upload and the last files get canceled. If I upload 4, all 4 are uploaded. \r\n\r\n4. **As a request**, Can you make the `retry` as part of the component itself, that way it can be configured with props `:retries=\"2\"` to configure how many times to retry the upload."}}
{"actor":{"display_login":"lian-yue"}}