summary refs log tree commit diff
path: root/docker/complement
diff options
context:
space:
mode:
authorJason Little <realtyem@gmail.com>2023-03-14 11:29:33 -0500
committerGitHub <noreply@github.com>2023-03-14 16:29:33 +0000
commit003a25ae5c8f1d708964f18aa34b87fb08ca5ef4 (patch)
tree436af1b1553e995a6da20be39194a4983d0ffbfd /docker/complement
parentAvoid unneeded work if auto-join rooms aren't configured. (#15262) (diff)
downloadsynapse-003a25ae5c8f1d708964f18aa34b87fb08ca5ef4.tar.xz
Additional functionality for declaring worker types in Complement (#14921)
Co-authored-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
Diffstat (limited to 'docker/complement')
-rwxr-xr-xdocker/complement/conf/start_for_complement.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/complement/conf/start_for_complement.sh b/docker/complement/conf/start_for_complement.sh
index af13209c54..5560ab8b95 100755
--- a/docker/complement/conf/start_for_complement.sh
+++ b/docker/complement/conf/start_for_complement.sh
@@ -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, \
@@ -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"