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

Commit

Permalink
Add worker_main_http_uri to the contrib bash script (#13772)
Browse files Browse the repository at this point in the history
* Add worker_main_http_uri, replace >> with >

Co-authored-by: Dirk Klimpel <[email protected]>
Co-authored-by: Erik Johnston <[email protected]>
  • Loading branch information
3 people authored Sep 21, 2022
1 parent 8ae42ab commit 269edda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/13772.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add `worker_main_http_uri` for the worker generator bash script.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ You can alternatively create multiple worker configuration files with a simple `
#!/bin/bash
for i in {1..5}
do
cat << EOF >> generic_worker$i.yaml
cat << EOF > generic_worker$i.yaml
worker_app: synapse.app.generic_worker
worker_name: generic_worker$i
# The replication listener on the main synapse process.
worker_replication_host: 127.0.0.1
worker_replication_http_port: 9093
worker_main_http_uri: http://localhost:8008/
worker_listeners:
- type: http
port: 808$i
Expand Down

0 comments on commit 269edda

Please sign in to comment.