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

Make upload more fail resistent #33

Open
paule96 opened this issue Jul 1, 2023 · 0 comments
Open

Make upload more fail resistent #33

paule96 opened this issue Jul 1, 2023 · 0 comments

Comments

@paule96
Copy link
Member

paule96 commented Jul 1, 2023

Internet providers are complicated in special for mobile connections. Sometimes when they detect big file uploads they throttle the upload speed or let you request to wait a relatively long time. (more than a minute)
The problem this currently results in an unhandled exception in FileExchange (good thing is azcopy has the same problem, so we are not alone)

But it should be possible to find a way to workaround this. An Idea would be:

  • detect the block, by catching the exception when a block failed to download (it's a timeout exception)
  • if this happens wait 5mins
  • after our threshold we continue the upload process

Note: Currently I only was finding this behavior for uploads. Downloads seems to be not affected in a way that break things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant