summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorAzrenbeth <7782548+Azrenbeth@users.noreply.github.com>2021-08-17 13:37:29 +0100
committerAzrenbeth <7782548+Azrenbeth@users.noreply.github.com>2021-09-20 16:38:34 +0100
commit1b76638c2a2568ce28f51545c99c85576ff27a64 (patch)
treee3a2e6b170c090b06eebf4e85c0aad226ebd3b9d /docs
parentrun in background (diff)
downloadsynapse-1b76638c2a2568ce28f51545c99c85576ff27a64.tar.xz
Added config section for state compressor
Diffstat (limited to 'docs')
-rw-r--r--docs/sample_config.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml

index 95cca16552..1ca4557b0f 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml
@@ -2644,3 +2644,22 @@ redis: # Optional password if configured on the Redis instance # #password: <secret_password> + + +# The state compressor is an experimental tool which attempts to +# reduce the number of rows in the state_groups_state table +# of postgres databases. +# +# For more information please see +# https://matrix-org.github.io/synapse/latest/state_compressor.html +# +state_compressor: +# enabled: true +# # The (rough) number of state groups to load at one time +# chunk_size: 500 +# # The number of rooms to compress on each run +# number_of_rooms: 5 +# # The default level sizes for the compressor to use +# default_levels: 100,50,25 +# # How frequently to run the state compressor +# time_between_runs: 1d