Skip to content

Commit

Permalink
Fix Documentation around MaximumPayloadSizeBytes (#7464)
Browse files Browse the repository at this point in the history
Signed-off-by: Stavros Foteinopoulos <[email protected]>
  • Loading branch information
stafot authored Oct 11, 2024
1 parent 3692031 commit 2155bd8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/configure/web-server-configuration-settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -705,22 +705,22 @@ Cluster log timeout
| See the :doc:`performance monitoring </scale/deploy-prometheus-grafana-for-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). | |
+-----------------------------------------------------------+-------------------------------------------------------------------------------------+

0 comments on commit 2155bd8

Please sign in to comment.