Skip to content

Commit 36ec869

Browse files
Update chunk size
1 parent 9e70d7e commit 36ec869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ async function importBlob(env: Env['Bindings'], name: string, digest: Digest) {
191191
}
192192

193193
const contentLength = Number(res.headers.get('content-length') ?? 0)
194-
const partSize = 1024 * 1024 * 100 // 500MB
194+
const partSize = 1024 * 1024 * 750 // 500MB
195195
const numberOfParts = Math.ceil(contentLength / partSize)
196196

197197
if (contentLength > partSize) {

0 commit comments

Comments
 (0)