You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
Feature Request
onAutoRetry should allow returning true/false to allow/prevent further retries
Feature request details
Sometimes logic on the client side will need to make decisions about whether to continue trying to upload a failed/failing upload. Currently there is no way to make intelligent decisions about when to keep retrying and when to fail the upload. We have to either set uploads retry attempts to 10000 and try forever or set it to 10 and possibly fail an upload on a poor connection even if it would have completed with more attempts.
The text was updated successfully, but these errors were encountered:
Why not just use a sensible value and just ask your users to manually retry? If you need to retry an upload 10 times, there are other, more important issues to solve besides this one.
There are many client side connection issues that can’t be solved from the developers end. What about especially large files on poor connections? Users don’t want to sit and stare at an upload screen for an hour clicking retry every time their connection gets reset. By allowing a Boolean return, devs can check other factors (to see if there is a connection at all, etc) and determine if the current upload should continue or fail.
Alternatively being able to set the upload status to upload_failed by api would work.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Type of issue
Uploader type
Feature Request
onAutoRetry should allow returning true/false to allow/prevent further retriesFeature request details
Sometimes logic on the client side will need to make decisions about whether to continue trying to upload a failed/failing upload. Currently there is no way to make intelligent decisions about when to keep retrying and when to fail the upload. We have to either set uploads retry attempts to 10000 and try forever or set it to 10 and possibly fail an upload on a poor connection even if it would have completed with more attempts.
The text was updated successfully, but these errors were encountered: