Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document upload chunk size #5401

Merged
merged 1 commit into from
Nov 10, 2020
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://docs.nextcloud.com/desktop/3.0/advancedusage.html>`_
for more information on configuration options.

System configuration
--------------------
Expand Down Expand Up @@ -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).