From 629497902be3ed0426848332c68a9a9fdfda3bbc Mon Sep 17 00:00:00 2001
From: DMRobertson
To change the default behavior, use the following sub-options:
disable_default_event_types
: boolean. Set to true
to disable the above
+
disable_default_event_types
: boolean. Set to true
to disable the above
defaults. If this is enabled, only the event types listed in
additional_event_types
are shared. Defaults to false
.
additional_event_types
: A list of additional state events to include in the
-events to be shared. By default, this list is empty (so only the default event
+
additional_event_types
: A list of additional state events to include in the
+events to be shared. By default, this list is empty (so only the default event
types are shared).
Each entry in this list should be either a single string or a list of two -strings.
+strings.t
represents all events with type t
(i.e.
with no restrictions on state keys).[t, s]
represents a single event with type t
and
+[t, s]
represents a single event with type t
and
state key s
. The same type can appear in two entries with different state
keys: in this situation, both state keys are included in prejoin state.run_background_tasks_on: worker1
update_user_directory_from_worker
The worker that is used to +update the user directory. If not provided this defaults to the main process.
+Example configuration:
+update_user_directory_from_worker: worker1
+
+Added in Synapse 1.59.0.
+notify_appservices_from_worker
The worker that is used to +send output traffic to Application Services. If not provided this defaults +to the main process.
+Example configuration:
+notify_appservices_from_worker: worker1
+
+Added in Synapse 1.59.0.
+media_instance_running_background_jobs
The worker that is used to run
+background tasks for media repository. If running multiple media repositories
+you must configure a single instance to run the background tasks. If not provided
+this defaults to the main process or your single media_repository
worker.
Example configuration:
+media_instance_running_background_jobs: worker1
+
+Added in Synapse 1.16.0.
+redis
Configuration for Redis when using workers. This must be enabled when using workers. This setting has the following sub-options:
-- cgit 1.5.1