Skip to content
Snippets Groups Projects
Verified Commit 26847b1a authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Update synapse to 1.55.2

parent f5078f7e
No related branches found
No related tags found
No related merge requests found
...@@ -32,8 +32,7 @@ matrix_nginx_config: ...@@ -32,8 +32,7 @@ matrix_nginx_config:
- "~ ^/_matrix/federation/v1/user/devices/" - "~ ^/_matrix/federation/v1/user/devices/"
- "~ ^/_matrix/federation/v1/get_groups_publicised$" - "~ ^/_matrix/federation/v1/get_groups_publicised$"
- "~ ^/_matrix/key/v2/query" - "~ ^/_matrix/key/v2/query"
- "~ ^/_matrix/federation/unstable/org.matrix.msc2946/spaces/" - "~ ^/_matrix/federation/(v1|unstable/org.matrix.msc2946)/hierarchy/"
- "~ ^/_matrix/federation/unstable/org.matrix.msc2946/hierarchy/"
- "~ ^/_matrix/federation/v1/send/" - "~ ^/_matrix/federation/v1/send/"
- name: media_repository - name: media_repository
port: 8013 port: 8013
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
- name: install synapse - name: install synapse
pip: pip:
name: name:
- 'matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.53.0' - 'matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.55.2'
state: latest state: latest
extra_args: '--upgrade-strategy=eager' extra_args: '--upgrade-strategy=eager'
virtualenv: /var/lib/synapse/venv virtualenv: /var/lib/synapse/venv
......
...@@ -161,7 +161,7 @@ allow_public_rooms_over_federation: true ...@@ -161,7 +161,7 @@ allow_public_rooms_over_federation: true
# For example, for room version 1, default_room_version should be set # For example, for room version 1, default_room_version should be set
# to "1". # to "1".
# #
#default_room_version: "6" #default_room_version: "9"
# The GC threshold parameters to pass to `gc.set_threshold`, if defined # The GC threshold parameters to pass to `gc.set_threshold`, if defined
# #
...@@ -1968,8 +1968,14 @@ saml2_config: ...@@ -1968,8 +1968,14 @@ saml2_config:
# #
# localpart_template: Jinja2 template for the localpart of the MXID. # localpart_template: Jinja2 template for the localpart of the MXID.
# If this is not set, the user will be prompted to choose their # If this is not set, the user will be prompted to choose their
# own username (see 'sso_auth_account_details.html' in the 'sso' # own username (see the documentation for the
# section of this file). # 'sso_auth_account_details.html' template). This template can
# use the 'localpart_from_email' filter.
#
# confirm_localpart: Whether to prompt the user to validate (or
# change) the generated localpart (see the documentation for the
# 'sso_auth_account_details.html' template), instead of
# registering the account right away.
# #
# display_name_template: Jinja2 template for the display name to set # display_name_template: Jinja2 template for the display name to set
# on first login. If unset, no displayname will be set. # on first login. If unset, no displayname will be set.
...@@ -2775,3 +2781,35 @@ redis: ...@@ -2775,3 +2781,35 @@ redis:
# Optional password if configured on the Redis instance # Optional password if configured on the Redis instance
# #
#password: <secret_password> #password: <secret_password>
## Background Updates ##
# Background updates are database updates that are run in the background in batches.
# The duration, minimum batch size, default batch size, whether to sleep between batches and if so, how long to
# sleep can all be configured. This is helpful to speed up or slow down the updates.
#
background_updates:
# How long in milliseconds to run a batch of background updates for. Defaults to 100. Uncomment and set
# a time to change the default.
#
#background_update_duration_ms: 500
# Whether to sleep between updates. Defaults to True. Uncomment to change the default.
#
#sleep_enabled: false
# If sleeping between updates, how long in milliseconds to sleep for. Defaults to 1000. Uncomment
# and set a duration to change the default.
#
#sleep_duration_ms: 300
# Minimum size a batch of background updates can be. Must be greater than 0. Defaults to 1. Uncomment and
# set a size to change the default.
#
#min_batch_size: 10
# The batch size to use for the first iteration of a new background update. The default is 100.
# Uncomment and set a size to change the default.
#
#default_batch_size: 50
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment