This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Remove not needed replication listener in docker compose example#14107
Merged
erikjohnston merged 3 commits intomatrix-org:developfrom Oct 17, 2022
Merged
Remove not needed replication listener in docker compose example#14107erikjohnston merged 3 commits intomatrix-org:developfrom
replication listener in docker compose example#14107erikjohnston merged 3 commits intomatrix-org:developfrom
Conversation
dklimpel
commented
Oct 7, 2022
Comment on lines
-97
to
-105
| ### Add Workers to `instance_map` | ||
|
|
||
| Locate the `instance_map` section of your `homeserver.yaml` and populate it with your workers: | ||
|
|
||
| ```yaml | ||
| instance_map: | ||
| synapse-generic-worker-1: # The worker_name setting in your worker configuration file | ||
| host: synapse-generic-worker-1 # The name of the worker service in your Docker Compose file | ||
| port: 8034 # The port assigned to the replication listener in your worker config file |
Contributor
Author
There was a problem hiding this comment.
An instance_map is only is required for stream writers.
See also:
synapse/docker/configure_workers_and_start.py
Lines 275 to 286 in 1bf2832
Stream writers are not part of this example and explanation and need some more configuration eg stream_writers.
erikjohnston
approved these changes
Oct 17, 2022
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See: #14077 (comment)
fyi: @Thumbscrew
Pull Request Checklist
EventStoretoEventWorkerStore.".code blocks.(run the linters)
Signed-off-by: Dirk Klimpel dirk@klimpel.org