diff --git a/docs/configuring-playbook-synapse-auto-accept-invite.md b/docs/configuring-playbook-synapse-auto-accept-invite.md index f6f80120a..f77acebaa 100644 --- a/docs/configuring-playbook-synapse-auto-accept-invite.md +++ b/docs/configuring-playbook-synapse-auto-accept-invite.md @@ -26,16 +26,6 @@ matrix_synapse_ext_synapse_auto_accept_invite_enabled: true matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages: true ``` -### Synapse worker deployments - -In a [workerized Synapse deployment](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/c9a842147e09647c355799ca024d65a5de66b099/docs/configuring-playbook-synapse.md#load-balancing-with-workers) it is possible to run this module on a worker to reduce the load on the main process (Default is `null`). For example, add this to your configuration: - -```yaml -matrix_synapse_ext_synapse_auto_accept_invite_worker_to_run_on: 'matrix-synapse-worker-generic-0' -``` - -There might be an [issue with federation](https://github.com/matrix-org/synapse-auto-accept-invite/issues/18). - ## Native alternative Since Synapse [v1.109.0](https://github.com/element-hq/synapse/releases/tag/v1.109.0), the functionality provided by the [synapse-auto-invite-accept](https://github.com/matrix-org/synapse-auto-accept-invite) 3rd party module [has been made](https://github.com/element-hq/synapse/pull/17147) part of Synapse. diff --git a/roles/custom/matrix-synapse/defaults/main.yml b/roles/custom/matrix-synapse/defaults/main.yml index 71bf266ef..d4e536e0f 100644 --- a/roles/custom/matrix-synapse/defaults/main.yml +++ b/roles/custom/matrix-synapse/defaults/main.yml @@ -1564,8 +1564,6 @@ matrix_synapse_ext_synapse_auto_accept_invite_version: 1.1.3 matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages: false # Specifies whether only invites from local users will be auto accepted. matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_from_local_users: false -# When Synapse workers enabled it is possible (but not required) to assign a worker to run this module on (null = main process). -matrix_synapse_ext_synapse_auto_accept_invite_worker_to_run_on: null # Specifies whether an external media repository is enabled. # If it is, the Synapse media repo and media-repo workers will be disabled automatically. diff --git a/roles/custom/matrix-synapse/tasks/ext/synapse-auto-accept-invite/setup_install.yml b/roles/custom/matrix-synapse/tasks/ext/synapse-auto-accept-invite/setup_install.yml index 9bbabdbaf..fa4855dd5 100644 --- a/roles/custom/matrix-synapse/tasks/ext/synapse-auto-accept-invite/setup_install.yml +++ b/roles/custom/matrix-synapse/tasks/ext/synapse-auto-accept-invite/setup_install.yml @@ -15,7 +15,6 @@ "config": { "accept_invites_only_for_direct_messages": matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages, "accept_invites_only_from_local_users": matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_from_local_users, - "worker_to_run_on": matrix_synapse_ext_synapse_auto_accept_invite_worker_to_run_on, }, }] }}