-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat(gensupport): per-chunk transfer timeout configs #2865
feat(gensupport): per-chunk transfer timeout configs #2865
Conversation
f81a9ee
to
f54010a
Compare
f54010a
to
007f67a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few more points here.
007f67a
to
c9d6842
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few more comments here.
40ba714
to
00ceb49
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM to me overall, I will wait for @tritone to fully sign-off. I will say this function is starting to get a bit long and complex. I would consider breaking up the loop body into some different functions can be better documented. Then you can use things like defer again too.
It's a good point; I can do this in a subsequent PR. |
feat(gensupport): per-chunk transfer timeout configs
Allow users to configure the per-chunk transfer timeout for retries
that's used during resumable uploads.
Needs to be exposed via the manual layer for storage.
Tested the feature(with default timeout and with some random value) with storagetestbench server emulator.