summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-02-24 13:23:18 +0000
committerGitHub <noreply@github.com>2021-02-24 13:23:18 +0000
commit292792194232e68eb68c5135bb59d037d38b870b (patch)
tree3951c198903b824b6db2cb05564ab3600eaad51f /changelog.d
parentRefactor to ensure we call check_consistency (#9470) (diff)
downloadsynapse-292792194232e68eb68c5135bb59d037d38b870b.tar.xz
Clean up `ShardedWorkerHandlingConfig` (#9466)
* Split ShardedWorkerHandlingConfig

This is so that we have a type level understanding of when it is safe to
call `get_instance(..)` (as opposed to `should_handle(..)`).

* Remove special cases in ShardedWorkerHandlingConfig.

`ShardedWorkerHandlingConfig` tried to handle the various different ways
it was possible to configure federation senders and pushers. This led to
special cases that weren't hit during testing.

To fix this the handling of the different cases is moved from there and
`generic_worker` into the worker config class. This allows us to have
the logic in one place and allows the rest of the code to ignore the
different cases.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/9466.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9466.bugfix b/changelog.d/9466.bugfix
new file mode 100644
index 0000000000..2ab4f315c1
--- /dev/null
+++ b/changelog.d/9466.bugfix
@@ -0,0 +1 @@
+Fix deleting pushers when using sharded pushers.