Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

onAutoRetry event should allow returning boolean to prevent further retries #2018

Description

@DanielWare

Type of issue

  • Bug report
  • Feature request

Uploader type

  • Traditional
  • S3
  • Azure
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions