Browse Source

bump chunk size to 95MB

Michael Yang 1 year ago
parent
commit
72266c7684
1 changed files with 2 additions and 1 deletions
  1. 2 1
      server/upload.go

+ 2 - 1
server/upload.go

@@ -56,7 +56,8 @@ func uploadBlobChunked(ctx context.Context, mp ModelPath, requestURL *url.URL, l
 	defer f.Close()
 
 	var completed int64
-	chunkSize := 10 * 1024 * 1024
+	// 95MB chunk size
+	chunkSize := 95 * 1024 * 1024
 
 	for {
 		chunk := int64(layer.Size) - completed