Skip to content

Commit 7b63f09

Browse files
committed
Setup device_lists workers in complement
1 parent c638904 commit 7b63f09

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docker/complement/conf/start_for_complement.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if [[ -n "$SYNAPSE_COMPLEMENT_USE_WORKERS" ]]; then
6565
client_reader, \
6666
appservice, \
6767
pusher, \
68-
stream_writers=account_data+presence+receipts+to_device+typing"
68+
stream_writers=account_data+presence+receipts+to_device+typing+device_lists"
6969

7070
fi
7171
log "Workers requested: $SYNAPSE_WORKER_TYPES"

docker/configure_workers_and_start.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,15 @@
306306
"shared_extra_conf": {},
307307
"worker_extra_conf": "",
308308
},
309+
"device_lists": {
310+
"app": "synapse.app.generic_worker",
311+
"listener_resources": ["client", "replication"],
312+
"endpoint_patterns": [
313+
"^/_matrix/client/(api/v1|r0|v3|unstable)/keys/signatures/upload$"
314+
],
315+
"shared_extra_conf": {},
316+
"worker_extra_conf": "",
317+
},
309318
"typing": {
310319
"app": "synapse.app.generic_worker",
311320
"listener_resources": ["client", "replication"],

0 commit comments

Comments
 (0)