Commit 72266c76 authored by Michael Yang's avatar Michael Yang
Browse files

bump chunk size to 95MB

parent d3b838ce
...@@ -56,7 +56,8 @@ func uploadBlobChunked(ctx context.Context, mp ModelPath, requestURL *url.URL, l ...@@ -56,7 +56,8 @@ func uploadBlobChunked(ctx context.Context, mp ModelPath, requestURL *url.URL, l
defer f.Close() defer f.Close()
var completed int64 var completed int64
chunkSize := 10 * 1024 * 1024 // 95MB chunk size
chunkSize := 95 * 1024 * 1024
for { for {
chunk := int64(layer.Size) - completed chunk := int64(layer.Size) - completed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment