Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequestClient (companion-client) doesn't support retry mechanism customization #5453

Open
2 tasks done
maxibrain opened this issue Sep 7, 2024 · 0 comments
Open
2 tasks done
Labels

Comments

@maxibrain
Copy link

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

Analyze the source code:

Expected behavior

I expect I am able to provide:

  1. error handling callback to decide whether to abort uploading
  2. retry callback to decide whether to keep trying to upload
  3. max attempts number

Actual behavior

The current implementation lets me customize neither retry mechanism nor error handling. For example, if my upload endpoint returns validation error during the process it will start over and over again for 10 times defined as a constant in the code.

@maxibrain maxibrain added the Bug label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant