From c972cd69b6d99e8fe29fd75f5c54568a648e61de Mon Sep 17 00:00:00 2001 From: Sascha Wiswedel Date: Tue, 10 Nov 2020 15:17:46 +0100 Subject: [PATCH] document upload chunk size documenting https://github.com/nextcloud/server/pull/7056 Signed-off-by: Sascha Wiswedel --- .../big_file_upload_configuration.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration_files/big_file_upload_configuration.rst b/admin_manual/configuration_files/big_file_upload_configuration.rst index c1cbf762df7..76855c5be00 100644 --- a/admin_manual/configuration_files/big_file_upload_configuration.rst +++ b/admin_manual/configuration_files/big_file_upload_configuration.rst @@ -14,7 +14,8 @@ hard limits that cannot be exceeded: filesystem. .. note:: The Nextcloud sync client is not affected by these upload limits - as it is uploading files in smaller chunks. + as it is uploading files in smaller chunks. See `Client documentation `_ + for more information on configuration options. System configuration -------------------- @@ -138,3 +139,13 @@ the longest upload will take. If unsure remove this completely from your configuration to reset it to the default shown in the ``config.sample.php``. +Adjust chunk size on Nextcloud side +----------------------------------- + +For upload performance improvements in environments with high upload bandwidth, the server's upload chunk size may be adjusted:: + + sudo -u www-data php occ config:app:set files max_chunk_size + +Put in a value in bytes or set ``--value 0`` for no chunking at all. + +Default is 10485760 (10 MB). \ No newline at end of file