diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-07-16 15:49:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 15:49:37 +0100 |
commit | e5300063ede787414e23295767e3279097d7befa (patch) | |
tree | 3dbaeb4dffd3f69b705e2e7c2394814d1575cd2c /changelog.d/7861.misc | |
parent | Reject attempts to join empty rooms over federation (#7859) (diff) | |
download | synapse-e5300063ede787414e23295767e3279097d7befa.tar.xz |
Optimise queueing of inbound replication commands (#7861)
When we get behind on replication, we tend to stack up background processes behind a linearizer. Bg processes are heavy (particularly with respect to prometheus metrics) and linearizers aren't terribly efficient once the queue gets long either. A better approach is to maintain a queue of requests to be processed, and nominate a single process to work its way through the queue. Fixes: #7444
Diffstat (limited to 'changelog.d/7861.misc')
-rw-r--r-- | changelog.d/7861.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7861.misc b/changelog.d/7861.misc new file mode 100644 index 0000000000..ada616c62f --- /dev/null +++ b/changelog.d/7861.misc @@ -0,0 +1 @@ +Optimise queueing of inbound replication commands. |