Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
9fddef37
Unverified
Commit
9fddef37
authored
Aug 19, 2024
by
Jeffrey Morgan
Committed by
GitHub
Aug 19, 2024
Browse files
server: limit upload parts to 16 (#6411)
parent
d29cd4c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/upload.go
server/upload.go
+1
-1
No files found.
server/upload.go
View file @
9fddef37
...
@@ -45,7 +45,7 @@ type blobUpload struct {
...
@@ -45,7 +45,7 @@ type blobUpload struct {
}
}
const
(
const
(
numUploadParts
=
6
4
numUploadParts
=
1
6
minUploadPartSize
int64
=
100
*
format
.
MegaByte
minUploadPartSize
int64
=
100
*
format
.
MegaByte
maxUploadPartSize
int64
=
1000
*
format
.
MegaByte
maxUploadPartSize
int64
=
1000
*
format
.
MegaByte
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment