summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-10-01 11:51:09 +0100
committerRichard van der Hoff <richard@matrix.org>2020-10-01 11:51:57 +0100
commite675bbcc49b04f9799bacb6e7f266573d8a117fc (patch)
tree485725d0c3f12a8d10353f61eab4d2a3dade5369 /synapse/handlers/message.py
parentFix typo in comment (diff)
downloadsynapse-e675bbcc49b04f9799bacb6e7f266573d8a117fc.tar.xz
Remove redundant `EventCreationHandler._is_worker_app` attribute
This was added in 1c347c84bf/#7544 as a temporary optimisation. That was never
merged to develop, since it conflicted with #7492. The merge cf92310da forgot
to remove it.
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r--synapse/handlers/message.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py

index 16c367b30b..3a9183e0b0 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py
@@ -412,10 +412,8 @@ class EventCreationHandler: if self._block_events_without_consent_error: self._consent_uri_builder = ConsentURIBuilder(self.config) - self._is_worker_app = self.config.worker_app is not None - if ( - not self._is_worker_app + not self.config.worker_app and self.config.cleanup_extremities_with_dummy_events ): self.clock.looping_call(