From: Sascha Wiswedel Date: Tue, 10 Nov 2020 13:56:32 +0000 (+0100) Subject: [documentation] upload chunks config X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~69^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e69b26e3639fecf60b719ecb1e0cab39428e237d;p=nextcloud-desktop.git [documentation] upload chunks config documenting https://github.com/nextcloud/desktop/commit/e86499d9907f3bab5eac6e371eef772f8befd2e5 --- diff --git a/doc/conffile.rst b/doc/conffile.rst index 726e543e3..58ab50caf 100644 --- a/doc/conffile.rst +++ b/doc/conffile.rst @@ -33,22 +33,31 @@ Some interesting values that can be set on the configuration file are: +---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+ -+----------------------------------------------------------------------------------------------------------------------------------------------------------+ -| ``[General]`` section | -+=================================+===============+========================================================================================================+ -| Variable | Default | Meaning | -+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+ -| ``chunkSize`` | ``5242880`` | Specifies the chunk size of uploaded files in bytes. | -+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+ -| ``promptDeleteAllFiles`` | ``true`` | If a UI prompt should ask for confirmation if it was detected that all files and folders were deleted. | -+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+ -| ``maxLogLines`` | ``20000`` | Specifies the maximum number of log lines displayed in the log window. | -+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+ -| ``timeout`` | ``300`` | The timeout for network connections in seconds. | -+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+ -| ``moveToTrash`` | ``false`` | If non-locally deleted files should be moved to trash instead of deleting them completely. | -| | | This option only works on linux | -+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+ ++-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| ``[General]`` section | ++=================================+===============+=================================================================================================================+ +| Variable | Default | Meaning | ++---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+ +| ``chunkSize`` | ``10000000`` (10 MB) | Specifies the chunk size of uploaded files in bytes. | +| | | The client will dynamically adjust this size within the maximum and minimum bounds (see below). | ++---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+ +| ``maxChunkSize`` | ``100000000`` (100 MB) | Specifies the maximum chunk size of uploaded files in bytes. | ++---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+ +| ``minChunkSize`` | ``1000000`` (1 MB) | Specifies the minimum chunk size of uploaded files in bytes. | ++---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+ +| ``targetChunkUploadDuration`` | ``6000`` (1 minute) | Target duration in milliseconds for chunk uploads. | +| | | The client adjusts the chunk size until each chunk upload takes approximately this long. | +| | | Set to 0 to disable dynamic chunk sizing. | ++---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+ +| ``promptDeleteAllFiles`` | ``true`` | If a UI prompt should ask for confirmation if it was detected that all files and folders were deleted. | ++---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+ +| ``maxLogLines`` | ``20000`` | Specifies the maximum number of log lines displayed in the log window. | ++---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+ +| ``timeout`` | ``300`` | The timeout for network connections in seconds. | ++---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+ +| ``moveToTrash`` | ``false`` | If non-locally deleted files should be moved to trash instead of deleting them completely. | +| | | This option only works on linux | ++---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+ +----------------------------------------------------------------------------------------------------------------------------------------------------------+