mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 06:32:54 +00:00
deploy: 62a4bc4620
This commit is contained in:
1 parent
7310ad09fa
commit
74a07ec707
113 files changed
+128
-116
No files matched your search
+9
-3
@@ -38,7 +38,7 @@
|
||||
const path_to_root = "";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "searchindex-fc069fa3.js";
|
||||
window.path_to_searchindex_js = "searchindex-b96362db.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="toc-64310643.js"></script>
|
||||
@@ -12843,9 +12843,14 @@ configured as stream writer for the <code>device_lists</code> stream:</p>
|
||||
</code></pre>
|
||||
<h5 id="the-quarantined_media_changes-stream"><a class="header" href="#the-quarantined_media_changes-stream">The <code>quarantined_media_changes</code> stream</a></h5>
|
||||
<p>The <code>quarantined_media_changes</code> stream supports multiple writers. The following endpoints
|
||||
can be handled by any worker, but should be routed directly to one of the workers
|
||||
configured as stream writer for the <code>quarantined_media_changes</code> stream:</p>
|
||||
must be routed directly to one of the workers configured as stream writer for the
|
||||
<code>quarantined_media_changes</code> stream (which must also be able to run the media
|
||||
repository, as these endpoints are only registered on media-capable workers):</p>
|
||||
<pre><code>^/_synapse/admin/v1/quarantine_media/.*$
|
||||
^/_synapse/admin/v1/room/.*/media/quarantine$
|
||||
^/_synapse/admin/v1/user/.*/media/quarantine$
|
||||
^/_synapse/admin/v1/media/quarantine/.*$
|
||||
^/_synapse/admin/v1/media/unquarantine/.*$
|
||||
</code></pre>
|
||||
<h4 id="restrict-outbound-federation-traffic-to-a-specific-set-of-workers"><a class="header" href="#restrict-outbound-federation-traffic-to-a-specific-set-of-workers">Restrict outbound federation traffic to a specific set of workers</a></h4>
|
||||
<p>The
|
||||
@@ -20493,6 +20498,7 @@ necessary registration and event handling.</p>
|
||||
<li>if adding new writer configuration, add Docker-worker configuration, which lets us configure the writer worker in Complement tests: <a href="https://github.com/element-hq/synapse/blob/4367fb2d078c52959aeca0fe6874539c53e8360d/docker/configure_workers_and_start.py#L331">[1]</a>, <a href="https://github.com/element-hq/synapse/blob/4367fb2d078c52959aeca0fe6874539c53e8360d/docker/configure_workers_and_start.py#L440">[2]</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Ensure that it’s been correctly added to <code>synapse/replication/tcp/handler.py</code> and it’s <code>streams_to_replicate</code> attribute to ensure that changes are actually replicated.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in new issue
Block a user