From da05bbd779b361ad52a2ec891f69cea849d41bf1 Mon Sep 17 00:00:00 2001
From: erikjohnston
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:
@@ -3582,6 +3583,19 @@ 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
.
+worker_replication_secret
must also be configured to
+authorize inter-worker communication.
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