DiskV2: change layer size to 512 * 1024 * 1024 bytes (#866)

Needed to test https://github.com/cirruslabs/tart/pull/864.
This commit is contained in:
Nikolay Edigaryev
2024-07-17 16:37:45 +00:00
committed by GitHub
parent bff344fb7f
commit 1e74e268a5
+1 -1
View File
@@ -3,7 +3,7 @@ import Compression
class DiskV2: Disk {
private static let bufferSizeBytes = 4 * 1024 * 1024
private static let layerLimitBytes = 500 * 1000 * 1000
private static let layerLimitBytes = 512 * 1024 * 1024
static func push(diskURL: URL, registry: Registry, chunkSizeMb: Int, progress: Progress) async throws -> [OCIManifestLayer] {
var pushedLayers: [OCIManifestLayer] = []