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

Commit

Permalink
Additional functionality for declaring worker types in Complement (#1…
Browse files Browse the repository at this point in the history
…4921)

Co-authored-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
  • Loading branch information
realtyem and reivilibre authored Mar 14, 2023
1 parent e7b559d commit 003a25a
Show file tree
Hide file tree
Showing 3 changed files with 413 additions and 115 deletions.
1 change: 1 addition & 0 deletions changelog.d/14921.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add additional functionality to declaring worker types when starting Complement in worker mode.
6 changes: 3 additions & 3 deletions docker/complement/conf/start_for_complement.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ if [[ -n "$SYNAPSE_COMPLEMENT_USE_WORKERS" ]]; then
# -z True if the length of string is zero.
if [[ -z "$SYNAPSE_WORKER_TYPES" ]]; then
export SYNAPSE_WORKER_TYPES="\
event_persister, \
event_persister, \
event_persister:2, \
background_worker, \
frontend_proxy, \
event_creator, \
Expand All @@ -64,7 +63,8 @@ if [[ -n "$SYNAPSE_COMPLEMENT_USE_WORKERS" ]]; then
synchrotron, \
client_reader, \
appservice, \
pusher"
pusher, \
stream_writers=account_data+presence+receipts+to_device+typing"

fi
log "Workers requested: $SYNAPSE_WORKER_TYPES"
Expand Down
Loading

0 comments on commit 003a25a

Please sign in to comment.