Skip to content

Commit

Permalink
Merge pull request #6831 from owncloud/increase-tus-upload-retries
Browse files Browse the repository at this point in the history
Increase amount of retries when a tus upload fails
  • Loading branch information
JammingBen authored Apr 29, 2022
2 parents e9bb89f + 57089ec commit c993496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-runtime/src/services/uppyService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class UppyService extends Vue {
chunkSize: chunkSize,
removeFingerprintOnSuccess: true,
overridePatchMethod: !!tusHttpMethodOverride,
retryDelays: [0]
retryDelays: [0, 500, 1000]
}

const xhrPlugin = this.uppy.getPlugin('XHRUpload')
Expand Down
1 change: 1 addition & 0 deletions tests/acceptance/pageObjects/filesDropPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
*/
getUploadedFiles: async function () {
let elements = []
await this.waitForElementVisible('@uploadedFiles')
await this.api.elements('@uploadedFiles', (result) => {
elements = result.value
})
Expand Down

0 comments on commit c993496

Please sign in to comment.