summary refs log tree commit diff
path: root/develop/usage
diff options
context:
space:
mode:
authorH-Shay <H-Shay@users.noreply.github.com>2022-05-19 14:47:10 +0000
committerH-Shay <H-Shay@users.noreply.github.com>2022-05-19 14:47:10 +0000
commit6dc76bc00877680dafc75de06cab89021a2b3308 (patch)
treeb5fd6d58135ab58987fbc410a42057929e0597fa /develop/usage
parentdeploy: 66a5f6c40018018cccffd79aded0850d13efe513 (diff)
downloadsynapse-6dc76bc00877680dafc75de06cab89021a2b3308.tar.xz
deploy: ab2a615cfb13f8ff91919c4332fcb182640d5484
Diffstat (limited to 'develop/usage')
-rw-r--r--develop/usage/configuration/config_documentation.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html
index 85b9520d5c..f56ea8d946 100644
--- a/develop/usage/configuration/config_documentation.html
+++ b/develop/usage/configuration/config_documentation.html
@@ -167,6 +167,13 @@ followed by a letter. Letters have the following meanings:</p>
 </ul>
 <p>For example, setting <code>redaction_retention_period: 5m</code> would remove redacted
 messages from the database after 5 minutes, rather than 5 months.</p>
+<p>In addition, configuration options referring to size use the following suffixes:</p>
+<ul>
+<li><code>M</code> = MiB, or 1,048,576 bytes</li>
+<li><code>K</code> = KiB, or 1024 bytes </li>
+</ul>
+<p>For example, setting <code>max_avatar_size: 10M</code> means that Synapse will not accept files larger than 10,485,760 bytes
+for a user avatar. </p>
 <h3 id="yaml"><a class="header" href="#yaml">YAML</a></h3>
 <p>The configuration file is a <a href="https://yaml.org/">YAML</a> file, which means that certain syntax rules
 apply if you want your config file to be read properly. A few helpful things to know:</p>