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

feat(gensupport): per-chunk deadline configs #1414

Merged
merged 4 commits into from Feb 1, 2022

Conversation

tritone
Copy link
Contributor

@tritone tritone commented Feb 1, 2022

feat(gensupport): per-chunk deadline configs

Allow users to configure the per-chunk deadline for retries
that's used during resumable uploads.

Needs to be exposed via the manual layer for storage.

Fixes #685

Allow users to configure the per-chunk deadline for retries
that's used during resumable uploads.

Needs to be exposed via the manual layer for storage.

Fixes googleapis#685
@tritone tritone requested review from yoshi-approver and a team as code owners February 1, 2022 07:54
Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a question.

googleapi/googleapi.go Show resolved Hide resolved
Copy link
Contributor

@BrennaEpp BrennaEpp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

// will be returned to the caller.
// This is only applicable for files which are large enough to require
// a multi-chunk resumable upload.
// The default value is 32s.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has 32s at per chunk been the default for a while now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For 3ish years: 4fac4de

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, and there was a default of 16s prior to that apparently.

@tritone tritone merged commit c987a5b into googleapis:main Feb 1, 2022
@tritone tritone deleted the chunk-timeout branch February 1, 2022 19:47
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.

gensupport: resumable uploads shouldn't use a hardcoded retryDeadline
4 participants