Remove 'retryTimeout' - that's just the timer ID, nothing useful

This commit is contained in:
infinite-persistence 2022-01-10 11:39:34 +08:00
parent 6fffae6d46
commit 47043bc965
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -91,7 +91,6 @@ export function makeResumableUploadRequest(
url: uploader.url, url: uploader.url,
...(uploader._fingerprint ? { fingerprint: uploader._fingerprint } : {}), ...(uploader._fingerprint ? { fingerprint: uploader._fingerprint } : {}),
...(uploader._retryAttempt ? { retryAttempt: uploader._retryAttempt } : {}), ...(uploader._retryAttempt ? { retryAttempt: uploader._retryAttempt } : {}),
...(uploader._retryTimeout ? { retryTimeout: uploader._retryTimeout } : {}),
...(uploader._offsetBeforeRetry ? { offsetBeforeRetry: uploader._offsetBeforeRetry } : {}), ...(uploader._offsetBeforeRetry ? { offsetBeforeRetry: uploader._offsetBeforeRetry } : {}),
}, },
}) })