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

Fix Azure bypass-server upload to Azure timeout issue #4275

Merged
merged 4 commits into from
Oct 12, 2022
Merged

Conversation

wwwjn
Copy link
Contributor

@wwwjn wwwjn commented Oct 7, 2022

Reasons for making this change

Upload process: local CLI --> Azure (bypass server)

Upload to Azure sometimes get timeout error when uploading large files. Since we monkey-patched the BlobStorageUploader class, we need to modify our corresponding max_single_put_size parameter.

Reason for timeout: Azure/azure-sdk-for-python#12166 (comment)

It could because of the max_single_put_size, sometime the first put blob request cannot finish within the specified/default timeout value, set max_single_put_size to a smaller value like 2010241024 could be a workaround to fix the problem.

Related issues

Fix #4149

Screenshots

Checklist

  • I've added a screenshot of the changes, if this is a frontend change
  • I've added and/or updated tests, if this is a backend change
  • I've run the pre-commit.sh script
  • I've updated docs, if needed

@wwwjn wwwjn requested a review from epicfaace October 7, 2022 23:43
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

Successfully merging this pull request may close these issues.

Dev environment upload to Azure connection timeout
2 participants