diff --git a/roles/matrix/tasks/main.yml b/roles/matrix/tasks/main.yml index a84533f1d6eb5dfe3a5968412a6e4b4d52f14be7..32fea8048d0cee1dc5db788d3ad5bb758e43c3a1 100644 --- a/roles/matrix/tasks/main.yml +++ b/roles/matrix/tasks/main.yml @@ -75,7 +75,7 @@ - name: install synapse pip: name: - - 'matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.64.0' + - 'matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.65.0' state: latest extra_args: '--upgrade-strategy=eager' virtualenv: /var/lib/synapse/venv diff --git a/roles/matrix/templates/homeserver.yaml.j2 b/roles/matrix/templates/homeserver.yaml.j2 index c08754018235f1ce2c374b2e00dedb449892c4cc..9dca032e8562b9b56e1e0f928603cf86c016e7f0 100644 --- a/roles/matrix/templates/homeserver.yaml.j2 +++ b/roles/matrix/templates/homeserver.yaml.j2 @@ -52,8 +52,9 @@ modules: - "!tUPwPPmVTaiKXMiijj:matrix.org" # #matrix-org-hs-tos-bl:matrix.org - "!vmRBOqUEHGdNBeweth:archlinux.org" # #banlist:archlinux.org +event_cache_size: 15K caches: - global_factor: 0.7 + global_factor: 1.0 per_cache_factors: get_users_in_room: 5.0 @@ -99,6 +100,8 @@ url_preview_ip_range_blacklist: - '2001:db8::/32' - 'ff00::/8' - 'fec0::/10' +url_preview_accept_language: + - 'en' # WebRTC turn_uris: