From 4b741804b9ad758c8b649360f1658c5f71c0ee13 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Tue, 12 Sep 2023 16:35:41 +0200 Subject: [PATCH] change the default value for TUS --- changelog/unreleased/change-default-config-tus.md | 5 +++++ services/frontend/pkg/config/defaults/defaultconfig.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/change-default-config-tus.md diff --git a/changelog/unreleased/change-default-config-tus.md b/changelog/unreleased/change-default-config-tus.md new file mode 100644 index 000000000..aa0a3b849 --- /dev/null +++ b/changelog/unreleased/change-default-config-tus.md @@ -0,0 +1,5 @@ +Change: Change the default TUS chunk size + +We changed the default TUS chunk size from 100MB to 10MB. You can still use the old value by configuring it in your deployment. + +https://github.com/owncloud/ocis/pull/7273 diff --git a/services/frontend/pkg/config/defaults/defaultconfig.go b/services/frontend/pkg/config/defaults/defaultconfig.go index 8421d30ba..f3726a201 100644 --- a/services/frontend/pkg/config/defaults/defaultconfig.go +++ b/services/frontend/pkg/config/defaults/defaultconfig.go @@ -83,7 +83,7 @@ func DefaultConfig() *config.Config { EnableFavorites: false, EnableProjectSpaces: true, EnableShareJail: true, - UploadMaxChunkSize: 1e+8, + UploadMaxChunkSize: 1e+7, UploadHTTPMethodOverride: "", DefaultUploadProtocol: "tus", EnableResharing: true,