tus: try longer retry delays to maybe avoid lockups (#1012)

This commit is contained in:
infinite-persistence 2022-03-02 08:03:49 -08:00 committed by GitHub
parent fcbaa51df6
commit 27f70d5f90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ export function makeResumableUploadRequest(
const uploader = new tus.Upload(file, {
...urlOptions,
chunkSize: UPLOAD_CHUNK_SIZE_BYTE,
retryDelays: [5000, 10000, 30000],
retryDelays: [40000, 60000],
parallelUploads: 1,
storeFingerprintForResuming: false,
urlStorage: new NoopUrlStorage(),