mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-13 11:57:33 -04:00
Merge pull request #2584 from owncloud/lower_tus_size
lower TUS max chunk size from infinite to 0.1 GB
This commit is contained in:
6
changelog/unreleased/lower-tus-chunk-size.md
Normal file
6
changelog/unreleased/lower-tus-chunk-size.md
Normal file
@@ -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
|
||||
@@ -202,7 +202,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,
|
||||
|
||||
Reference in New Issue
Block a user