Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions changelog/unreleased/lower-tus-chunk-size.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Lower TUS max chunk size

We've lowered the TUS max chunk size from infinite to 0.1GB so that chunking actually happens.

https://github.com/owncloud/ocis/pull/2584
https://github.com/cs3org/reva/pull/2136
2 changes: 1 addition & 1 deletion storage/pkg/flagset/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func FrontendWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.IntFlag{
Name: "upload-max-chunk-size",
Value: flags.OverrideDefaultInt(cfg.Reva.UploadMaxChunkSize, 0),
Value: flags.OverrideDefaultInt(cfg.Reva.UploadMaxChunkSize, 1e+8), // 0.1 GB
Usage: "Max chunk size in bytes to advertise to clients through capabilities, or 0 for unlimited",
EnvVars: []string{"STORAGE_FRONTEND_UPLOAD_MAX_CHUNK_SIZE"},
Destination: &cfg.Reva.UploadMaxChunkSize,
Expand Down