From 2155bd83f80503f7d641e868587617bd703a025b Mon Sep 17 00:00:00 2001 From: Stavros Foteinopoulos Date: Fri, 11 Oct 2024 16:01:27 +0300 Subject: [PATCH] Fix Documentation around MaximumPayloadSizeBytes (#7464) Signed-off-by: Stavros Foteinopoulos --- .../web-server-configuration-settings.rst | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/configure/web-server-configuration-settings.rst b/source/configure/web-server-configuration-settings.rst index 41093d2f967..c86e5dce60c 100644 --- a/source/configure/web-server-configuration-settings.rst +++ b/source/configure/web-server-configuration-settings.rst @@ -705,22 +705,22 @@ Cluster log timeout | See the :doc:`performance monitoring ` documentation for details. | +--------------------------------------------------------+-----------------------------------------------------------------------------------------+ -.. config:setting:: file-maxpayloadsize +.. config:setting:: service-maxpayloadsize :displayname: Maximum payload size (File Storage) :systemconsole: N/A - :configjson: .FileSettings.MaximumPayloadSizeBytes - :environment: MM_FILESETTINGS_MAXIMUMPAYLOADSIZEBYTES + :configjson: .ServiceSettings.MaximumPayloadSizeBytes + :environment: MM_SERVICESETTINGS_MAXIMUMPAYLOADSIZEBYTES :description: The maximum payload size in bytes for all APIs except APIs that receive a file as an input. For example, the upload attachment API or the API to upload a custom emoji. Default is 300000. Maximum payload size ~~~~~~~~~~~~~~~~~~~~ -+-----------------------------------------------------------+----------------------------------------------------------------------------------+ -| The maximum payload size in bytes for all APIs except | - System Config path: N/A | -| APIs that receive a file as an input. | - ``config.json`` setting: ``".FileSettings.MaximumPayloadSizeBytes: 300000",`` | -| | - Environment variable: ``MM_FILESETTINGS_MAXIMUMPAYLOADSIZEBYTES`` | -| For example, the upload attachment API or the API to | | -| upload a custom emoji. | | -| | | -| Numerical value. Default is **300000** (300 kB). | | -+-----------------------------------------------------------+----------------------------------------------------------------------------------+ ++-----------------------------------------------------------+-------------------------------------------------------------------------------------+ +| The maximum payload size in bytes for all APIs except | - System Config path: N/A | +| APIs that receive a file as an input. | - ``config.json`` setting: ``".ServiceSettings.MaximumPayloadSizeBytes: 300000",`` | +| | - Environment variable: ``MM_SERVICESETTINGS_MAXIMUMPAYLOADSIZEBYTES`` | +| For example, the upload attachment API or the API to | | +| upload a custom emoji. | | +| | | +| Numerical value. Default is **300000** (300 kB). | | ++-----------------------------------------------------------+-------------------------------------------------------------------------------------+