From d70465313b005be530fe498ab67594376aa39b25 Mon Sep 17 00:00:00 2001
From: MadLittleMods
instance_map
When using workers this should be a map from worker_name
to the
-HTTP replication listener of the worker, if configured, and to the main process.
-Each worker declared under stream_writers
needs
-a HTTP replication listener, and that listener should be included in the instance_map
.
-The main process also needs an entry on the instance_map
, and it should be listed under
-main
if even one other worker exists. Ensure the port matches with what is declared
-inside the listener
block for a replication
listener.
When using workers this should be a map from worker_name
to the HTTP
+replication listener of the worker, if configured, and to the main process. Each worker
+declared under stream_writers
and
+outbound_federation_restricted_to
needs a HTTP replication listener, and that
+listener should be included in the instance_map
. The main process also needs an entry
+on the instance_map
, and it should be listed under main
if even one other worker
+exists. Ensure the port matches with what is declared inside the listener
block for
+a replication
listener.
Example configuration:
instance_map:
main:
@@ -3544,6 +3545,17 @@ Any worker specified here must also be in the inst
typing: worker1
outbound_federation_restricted_to
When using workers, you can restrict outbound federation traffic to only go through a
+specific subset of workers. Any worker specified here must also be in the
+instance_map
.
outbound_federation_restricted_to:
+ - federation_sender1
+ - federation_sender2
+
+run_background_tasks_on
The worker that is used to run background tasks (e.g. cleaning up expired data). If not provided this -- cgit 1.5.1