Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Bash script for creating multiple stream writers #13271

Merged
merged 10 commits into from
Jul 19, 2022
Prev Previous commit
Update contrib/workers-bash-scripts/create-multiple-stream-writers.md
  • Loading branch information
richvdh committed Jul 19, 2022
commit 6ae37d1bd34823061fd6e34f8a553c7ca91de3d9
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It also prints out the example lines for Synapse main configuration file.

Remember to route necessary endpoints directly to a worker associated with it.

If you run the script as-is, it will create workers with the replication listener starting from port 8034 and another, regular http listener starting from 8044. If you don't need all of stream writers listed in the script, just remove them from the ```STREAM_WRITERS``` array.
If you run the script as-is, it will create workers with the replication listener starting from port 8034 and another, regular http listener starting from 8044. If you don't need all of the stream writers listed in the script, just remove them from the ```STREAM_WRITERS``` array.

```sh
#!/bin/bash
Expand Down