bug(sdk): increase task reporting timeout from 5s to 5m #1048
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
Fixes #1037
The httpx client library sets various timeouts to 5s. Unfortunately, when uploading large files or a lot of files, this is not sufficient.
What
This PR does 2 things:
Note that while this should increase the success rate of most graphs outcome reporting, there are still some graphs with a very big number of files or very large files that would still have issues being uploaded. An alternative solution will be needed for example writing directly to blob storage using a pre-signed URL, splitting uploads in multiple requests to the server, doing chunk uploads, ...
New logs:
Testing
Using S3 run this graph:
Code
Contribution Checklist
make fmt
inpython-sdk/
.make fmt
inserver/
.