File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
charts/matrix-stack/templates/synapse Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,7 @@ hasHttp
16
16
{ {- define " element-io.synapse.process.hasReplication" -} }
17
17
{ {- $root := .root -} }
18
18
{ {- with required " element-io.synapse.process.hasReplication missing context" .context -} }
19
- { {- $hasReplication := (list " main"
20
- " account-data"
21
- " device-lists"
22
- " encryption"
23
- " event-persister"
24
- " push-rules"
25
- " presence-writer"
26
- " receipts"
27
- " typing-persister" ) } }
28
- { {- if has . $hasReplication -} }
19
+ { {- if or (eq . " main" ) (gt (len ((include " element-io.synapse.process.streamWriters" (dict " root" $root " context" .)) | fromJsonArray)) 0) -} }
29
20
hasReplication
30
21
{ {- end -} }
31
22
{ {- end -} }
Original file line number Diff line number Diff line change
1
+ Source whether Synapse workers serve HTTP endpoints or have replication from other configuration to improve consistency of configuration.
You can’t perform that action at this time.
0 commit comments