Skip to content
Snippets Groups Projects
Unverified Commit 003a25ae authored by Jason Little's avatar Jason Little Committed by GitHub
Browse files

Additional functionality for declaring worker types in Complement (#14921)

parent e7b559d2
No related branches found
No related tags found
No related merge requests found
Add additional functionality to declaring worker types when starting Complement in worker mode.
...@@ -51,8 +51,7 @@ if [[ -n "$SYNAPSE_COMPLEMENT_USE_WORKERS" ]]; then ...@@ -51,8 +51,7 @@ if [[ -n "$SYNAPSE_COMPLEMENT_USE_WORKERS" ]]; then
# -z True if the length of string is zero. # -z True if the length of string is zero.
if [[ -z "$SYNAPSE_WORKER_TYPES" ]]; then if [[ -z "$SYNAPSE_WORKER_TYPES" ]]; then
export SYNAPSE_WORKER_TYPES="\ export SYNAPSE_WORKER_TYPES="\
event_persister, \ event_persister:2, \
event_persister, \
background_worker, \ background_worker, \
frontend_proxy, \ frontend_proxy, \
event_creator, \ event_creator, \
...@@ -64,7 +63,8 @@ if [[ -n "$SYNAPSE_COMPLEMENT_USE_WORKERS" ]]; then ...@@ -64,7 +63,8 @@ if [[ -n "$SYNAPSE_COMPLEMENT_USE_WORKERS" ]]; then
synchrotron, \ synchrotron, \
client_reader, \ client_reader, \
appservice, \ appservice, \
pusher" pusher, \
stream_writers=account_data+presence+receipts+to_device+typing"
fi fi
log "Workers requested: $SYNAPSE_WORKER_TYPES" log "Workers requested: $SYNAPSE_WORKER_TYPES"
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment