gh-pages
clokep 2023-05-23 13:06:36 +00:00
parent 04b9e8bec2
commit ad0e0fe8cf
4 changed files with 16 additions and 12 deletions

View File

@ -1787,9 +1787,11 @@ dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
<li><code>worker_replication_http_port</code></li>
<li><code>worker_replication_http_tls</code></li>
</ul>
<p>can now be removed from individual worker YAML configuration <em><strong>if</strong></em> you add the main process to the <code>instance_map</code> in the shared YAML configuration,
using the name <code>main</code>.</p>
<h3 id="before"><a class="header" href="#before">Before:</a></h3>
<p>should now be removed from individual worker YAML configurations and the main process should instead be added to the <code>instance_map</code>
in the shared YAML configuration, using the name <code>main</code>.</p>
<p>The old <code>worker_replication_*</code> settings are now considered deprecated and are expected to be removed in Synapse v1.88.0.</p>
<h3 id="example-change"><a class="header" href="#example-change">Example change</a></h3>
<h4 id="before"><a class="header" href="#before">Before:</a></h4>
<p>Shared YAML</p>
<pre><code class="language-yaml">instance_map:
generic_worker1:
@ -1817,7 +1819,7 @@ worker_listeners:
worker_log_config: /etc/matrix-synapse/generic-worker-log.yaml
</code></pre>
<h3 id="after"><a class="header" href="#after">After:</a></h3>
<h4 id="after"><a class="header" href="#after">After:</a></h4>
<p>Shared YAML</p>
<pre><code class="language-yaml">instance_map:
main:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -239,9 +239,11 @@ dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
<li><code>worker_replication_http_port</code></li>
<li><code>worker_replication_http_tls</code></li>
</ul>
<p>can now be removed from individual worker YAML configuration <em><strong>if</strong></em> you add the main process to the <code>instance_map</code> in the shared YAML configuration,
using the name <code>main</code>.</p>
<h3 id="before"><a class="header" href="#before">Before:</a></h3>
<p>should now be removed from individual worker YAML configurations and the main process should instead be added to the <code>instance_map</code>
in the shared YAML configuration, using the name <code>main</code>.</p>
<p>The old <code>worker_replication_*</code> settings are now considered deprecated and are expected to be removed in Synapse v1.88.0.</p>
<h3 id="example-change"><a class="header" href="#example-change">Example change</a></h3>
<h4 id="before"><a class="header" href="#before">Before:</a></h4>
<p>Shared YAML</p>
<pre><code class="language-yaml">instance_map:
generic_worker1:
@ -269,7 +271,7 @@ worker_listeners:
worker_log_config: /etc/matrix-synapse/generic-worker-log.yaml
</code></pre>
<h3 id="after"><a class="header" href="#after">After:</a></h3>
<h4 id="after"><a class="header" href="#after">After:</a></h4>
<p>Shared YAML</p>
<pre><code class="language-yaml">instance_map:
main: