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: use correct chunk size default unit #118

Merged
merged 4 commits into from
Nov 27, 2024

Conversation

andrewjl-mux
Copy link
Contributor

@andrewjl-mux andrewjl-mux commented Nov 27, 2024

See GCP docs. Fixes #115.

@andrewjl-mux andrewjl-mux requested a review from a team as a code owner November 27, 2024 00:43
@andrewjl-mux andrewjl-mux linked an issue Nov 27, 2024 that may be closed by this pull request
@andrewjl-mux andrewjl-mux force-pushed the ajlb/fix/use-correct-default-for-gcp branch 2 times, most recently from 5dd3738 to 4ddb9ab Compare November 27, 2024 00:52
@@ -307,7 +322,7 @@ extension Measurement where UnitType == UnitInformationStorage {
public static var defaultDirectUploadChunkSize: Self {
Measurement(
value: 8,
unit: .megabytes
unit: .mebibytes
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unit change here

Copy link
Collaborator

@daytime-em daytime-em left a comment

Choose a reason for hiding this comment

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

Lgtm!

Base automatically changed from ajlb/ci/use-buildkite-for-tests to main November 27, 2024 01:51
@andrewjl-mux andrewjl-mux force-pushed the ajlb/fix/use-correct-default-for-gcp branch from bf6a761 to 8081a24 Compare November 27, 2024 01:52
@andrewjl-mux andrewjl-mux changed the base branch from main to releases/v1.0.2 November 27, 2024 02:00
@andrewjl-mux andrewjl-mux merged commit 3ad05bb into releases/v1.0.2 Nov 27, 2024
4 checks passed
@andrewjl-mux andrewjl-mux deleted the ajlb/fix/use-correct-default-for-gcp branch November 27, 2024 02:00
@andrewjl-mux andrewjl-mux mentioned this pull request Nov 27, 2024
andrewjl-mux added a commit that referenced this pull request Jan 23, 2025
* fix: use correct chunk size default

* docs: update unit abbreviations in docs

* build: update version

* docs: add more details about chunk multiples to inline docs
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.

Default chunk size is using wrong unit
2 participants