mirror of
https://github.com/ollama/ollama.git
synced 2025-04-02 09:00:28 +02:00
server: limit upload parts to 16 (#6411)
This commit is contained in:
parent
d29cd4c2ed
commit
9fddef3731
@ -45,7 +45,7 @@ type blobUpload struct {
|
||||
}
|
||||
|
||||
const (
|
||||
numUploadParts = 64
|
||||
numUploadParts = 16
|
||||
minUploadPartSize int64 = 100 * format.MegaByte
|
||||
maxUploadPartSize int64 = 1000 * format.MegaByte
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user