Skip to content

Commit

Permalink
fix: use correct chunk size default
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjl-mux committed Nov 27, 2024
1 parent 80fe971 commit 5d56473
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public struct DirectUploadOptions {
public var retryLimitPerChunk: Int

/// Default options for ``DirectUpload`` chunk transport
/// over the network. The chunk size is 8MB and the
/// over the network. The chunk size is 8MiB and the
/// per-chunk retry limit is 3.
public static var `default`: Transport {
Transport(
Expand Down Expand Up @@ -307,7 +307,7 @@ extension Measurement where UnitType == UnitInformationStorage {
public static var defaultDirectUploadChunkSize: Self {
Measurement(
value: 8,
unit: .megabytes
unit: .mebibytes
)
}
}
Expand Down

0 comments on commit 5d56473

Please sign in to comment.