From 5d56473860ec1eb08321047ce85f9a46da55f5f8 Mon Sep 17 00:00:00 2001 From: AJ Lauer Barinov Date: Tue, 26 Nov 2024 16:41:23 -0800 Subject: [PATCH] fix: use correct chunk size default --- .../MuxUploadSDK/PublicAPI/Options/DirectUploadOptions.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/MuxUploadSDK/PublicAPI/Options/DirectUploadOptions.swift b/Sources/MuxUploadSDK/PublicAPI/Options/DirectUploadOptions.swift index a784b2b..8cede16 100644 --- a/Sources/MuxUploadSDK/PublicAPI/Options/DirectUploadOptions.swift +++ b/Sources/MuxUploadSDK/PublicAPI/Options/DirectUploadOptions.swift @@ -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( @@ -307,7 +307,7 @@ extension Measurement where UnitType == UnitInformationStorage { public static var defaultDirectUploadChunkSize: Self { Measurement( value: 8, - unit: .megabytes + unit: .mebibytes ) } }