Upgrade Synapse (1.33.2 -> 1.34.0)

This commit is contained in:
Slavi Pantaleev 2021-05-17 14:58:07 +03:00
parent e4dd933cf0
commit d156c8caa2
2 changed files with 21 additions and 2 deletions

View file

@ -15,8 +15,8 @@ matrix_synapse_docker_image_name_prefix: "{{ 'localhost/' if matrix_synapse_cont
# amd64 gets released first. # amd64 gets released first.
# arm32 relies on self-building, so the same version can be built immediately. # arm32 relies on self-building, so the same version can be built immediately.
# arm64 users need to wait for a prebuilt image to become available. # arm64 users need to wait for a prebuilt image to become available.
matrix_synapse_version: v1.33.2 matrix_synapse_version: v1.34.0
matrix_synapse_version_arm64: v1.33.2 matrix_synapse_version_arm64: v1.34.0
matrix_synapse_docker_image_tag: "{{ matrix_synapse_version if matrix_architecture in ['arm32', 'amd64'] else matrix_synapse_version_arm64 }}" matrix_synapse_docker_image_tag: "{{ matrix_synapse_version if matrix_architecture in ['arm32', 'amd64'] else matrix_synapse_version_arm64 }}"
matrix_synapse_docker_image_force_pull: "{{ matrix_synapse_docker_image.endswith(':latest') }}" matrix_synapse_docker_image_force_pull: "{{ matrix_synapse_docker_image.endswith(':latest') }}"
@ -454,6 +454,7 @@ matrix_synapse_sentry_dsn: ""
# Postgres database information # Postgres database information
matrix_synapse_database_host: "matrix-postgres" matrix_synapse_database_host: "matrix-postgres"
matrix_synapse_database_port: 5432
matrix_synapse_database_user: "synapse" matrix_synapse_database_user: "synapse"
matrix_synapse_database_password: "" matrix_synapse_database_password: ""
matrix_synapse_database_database: "synapse" matrix_synapse_database_database: "synapse"

View file

@ -128,6 +128,16 @@ default_room_version: {{ matrix_synapse_default_room_version|to_json }}
# #
#gc_thresholds: [700, 10, 10] #gc_thresholds: [700, 10, 10]
# The minimum time in seconds between each GC for a generation, regardless of
# the GC thresholds. This ensures that we don't do GC too frequently.
#
# A value of `[1s, 10s, 30s]` indicates that a second must pass between consecutive
# generation 0 GCs, etc.
#
# Defaults to `[1s, 10s, 30s]`.
#
#gc_min_interval: [0.5s, 30s, 1m]
# Set the limit on the returned events in the timeline in the get # Set the limit on the returned events in the timeline in the get
# and sync operations. The default value is 100. -1 means no upper limit. # and sync operations. The default value is 100. -1 means no upper limit.
# #
@ -757,6 +767,12 @@ federation_domain_whitelist: {{ matrix_synapse_federation_domain_whitelist|to_js
# #
#allow_profile_lookup_over_federation: false #allow_profile_lookup_over_federation: false
# Uncomment to disable device display name lookup over federation. By default, the
# Federation API allows other homeservers to obtain device display names of any user
# on this homeserver. Defaults to 'true'.
#
#allow_device_name_lookup_over_federation: false
## Caching ## ## Caching ##
@ -813,6 +829,7 @@ database:
password: {{ matrix_synapse_database_password|string|to_json }} password: {{ matrix_synapse_database_password|string|to_json }}
database: "{{ matrix_synapse_database_database }}" database: "{{ matrix_synapse_database_database }}"
host: "{{ matrix_synapse_database_host }}" host: "{{ matrix_synapse_database_host }}"
port: {{ matrix_synapse_database_port }}
cp_min: 5 cp_min: 5
cp_max: 10 cp_max: 10
@ -1519,6 +1536,7 @@ room_prejoin_state:
# - m.room.avatar # - m.room.avatar
# - m.room.encryption # - m.room.encryption
# - m.room.name # - m.room.name
# - m.room.create
# #
# Uncomment the following to disable these defaults (so that only the event # Uncomment the following to disable these defaults (so that only the event
# types listed in 'additional_event_types' are shared). Defaults to 'false'. # types listed in 'additional_event_types' are shared). Defaults to 'false'.