From 1b76638c2a2568ce28f51545c99c85576ff27a64 Mon Sep 17 00:00:00 2001 From: Azrenbeth <7782548+Azrenbeth@users.noreply.github.com> Date: Tue, 17 Aug 2021 13:37:29 +0100 Subject: Added config section for state compressor --- docs/sample_config.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'docs') 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: + + +# 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 -- cgit 1.5.1