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

Commit 003a25a

Browse files
realtyemreivilibre
andauthored
Additional functionality for declaring worker types in Complement (#14921)
Co-authored-by: Olivier Wilkinson (reivilibre) <[email protected]>
1 parent e7b559d commit 003a25a

File tree

3 files changed

+413
-115
lines changed

3 files changed

+413
-115
lines changed

changelog.d/14921.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add additional functionality to declaring worker types when starting Complement in worker mode.

docker/complement/conf/start_for_complement.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ if [[ -n "$SYNAPSE_COMPLEMENT_USE_WORKERS" ]]; then
5151
# -z True if the length of string is zero.
5252
if [[ -z "$SYNAPSE_WORKER_TYPES" ]]; then
5353
export SYNAPSE_WORKER_TYPES="\
54-
event_persister, \
55-
event_persister, \
54+
event_persister:2, \
5655
background_worker, \
5756
frontend_proxy, \
5857
event_creator, \
@@ -64,7 +63,8 @@ if [[ -n "$SYNAPSE_COMPLEMENT_USE_WORKERS" ]]; then
6463
synchrotron, \
6564
client_reader, \
6665
appservice, \
67-
pusher"
66+
pusher, \
67+
stream_writers=account_data+presence+receipts+to_device+typing"
6868

6969
fi
7070
log "Workers requested: $SYNAPSE_WORKER_TYPES"

0 commit comments

Comments
 (0)