Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
ab2a615c
Unverified
Commit
ab2a615c
authored
2 years ago
by
Shay
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update configuration manual to document size-related suffixes (#12777)
parent
684feeaf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/12777.doc
+2
-0
2 additions, 0 deletions
changelog.d/12777.doc
docs/usage/configuration/config_documentation.md
+8
-0
8 additions, 0 deletions
docs/usage/configuration/config_documentation.md
with
10 additions
and
0 deletions
changelog.d/12777.doc
0 → 100644
+
2
−
0
View file @
ab2a615c
Update configuration manual documentation to document size-related suffixes.
This diff is collapsed.
Click to expand it.
docs/usage/configuration/config_documentation.md
+
8
−
0
View file @
ab2a615c
...
@@ -23,6 +23,14 @@ followed by a letter. Letters have the following meanings:
...
@@ -23,6 +23,14 @@ followed by a letter. Letters have the following meanings:
For example, setting
`redaction_retention_period: 5m`
would remove redacted
For example, setting
`redaction_retention_period: 5m`
would remove redacted
messages from the database after 5 minutes, rather than 5 months.
messages from the database after 5 minutes, rather than 5 months.
In addition, configuration options referring to size use the following suffixes:
*
`M`
= MiB, or 1,048,576 bytes
*
`K`
= KiB, or 1024 bytes
For example, setting
`max_avatar_size: 10M`
means that Synapse will not accept files larger than 10,485,760 bytes
for a user avatar.
### YAML
### YAML
The configuration file is a
[
YAML
](
https://yaml.org/
)
file, which means that certain syntax rules
The configuration file is a
[
YAML
](
https://yaml.org/
)
file, which means that certain syntax rules
apply if you want your config file to be read properly. A few helpful things to know:
apply if you want your config file to be read properly. A few helpful things to know:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment