From 293625184fb157de11d25f74e400f461e336b3bc Mon Sep 17 00:00:00 2001 From: reivilibre Date: Fri, 6 May 2022 10:44:32 +0000 Subject: deploy: c2d50e9f6c5f7b01cbd8bf1dca36cb8c0e7b007f --- develop/print.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'develop/print.html') diff --git a/develop/print.html b/develop/print.html index c1ee68678e..898e29a787 100644 --- a/develop/print.html +++ b/develop/print.html @@ -1638,6 +1638,23 @@ Device IDs are unaffected, as these are necessary to facilitate end-to-end encry

To re-enable this functionality, set the allow_device_name_lookup_over_federation homeserver config option to true.

+

Deprecation of the synapse.app.appservice worker application type

+

The synapse.app.appservice worker application type allowed you to configure a +single worker to use to notify application services of new events, as long +as this functionality was disabled on the main process with notify_appservices: False.

+

To unify Synapse's worker types, the synapse.app.appservice worker application +type and the notify_appservices configuration option have been deprecated.

+

To get the same functionality, it's now recommended that the synapse.app.generic_worker +worker application type is used and that the notify_appservices_from_worker option +is set to the name of a worker.

+

For the time being, notify_appservices_from_worker can be used alongside +synapse.app.appservice and notify_appservices to make it easier to transition +between the two configurations, however please note that:

+ +

Please see the relevant section of the worker documentation for more information.

Upgrading to v1.58.0

Groups/communities feature has been disabled by default

The non-standard groups/communities feature in Synapse has been disabled by default @@ -12313,6 +12330,15 @@ worker_replication_http_port: 9093 worker_log_config: /etc/matrix-synapse/background-worker-log.yaml +

Notifying Application Services

+

You can designate one worker to send output traffic to Application Services.

+

Specify its name in the shared configuration as follows:

+
notify_appservices_from_worker: worker_name
+
+

This work cannot be load-balanced; please ensure the main process is restarted +after setting this option in the shared configuration!

+

This style of configuration supersedes the legacy synapse.app.appservice +worker application type.

synapse.app.pusher

Handles sending push notifications to sygnal and email. Doesn't handle any REST endpoints itself, but you should set start_pushers: False in the @@ -12324,6 +12350,8 @@ pusher instances by their worker name, e.g.:

- pusher_worker2

synapse.app.appservice

+

Deprecated as of Synapse v1.58. Use synapse.app.generic_worker with the +notify_appservices_from_worker option instead.

Handles sending output traffic to Application Services. Doesn't handle any REST endpoints itself, but you should set notify_appservices: False in the shared configuration file to stop the main synapse sending appservice notifications.

-- cgit 1.5.1