This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some example configurations for worker (#12492)
Signed-off-by: Dirk Klimpel <dirk@klimpel.org>
- Loading branch information
Showing
5 changed files
with
56 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add some example configurations for workers and update architectural diagram. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
worker_app: synapse.app.generic_worker | ||
worker_name: background_worker | ||
|
||
# The replication listener on the main synapse process. | ||
worker_replication_host: 127.0.0.1 | ||
worker_replication_http_port: 9093 | ||
|
||
worker_log_config: /etc/matrix-synapse/background-worker-log.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
worker_app: synapse.app.generic_worker | ||
worker_name: event_persister1 | ||
|
||
# The replication listener on the main synapse process. | ||
worker_replication_host: 127.0.0.1 | ||
worker_replication_http_port: 9093 | ||
|
||
worker_listeners: | ||
- type: http | ||
port: 8034 | ||
resources: | ||
- names: [replication] | ||
|
||
# Enable listener if this stream writer handles endpoints for the `typing` or | ||
# `to_device` streams. Uses a different port to the `replication` listener to | ||
# avoid exposing the `replication` listener publicly. | ||
# | ||
#- type: http | ||
# port: 8035 | ||
# resources: | ||
# - names: [client] | ||
|
||
worker_log_config: /etc/matrix-synapse/event-persister-log.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters