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.
This commit is contained in:
Richard van der Hoff 2020-10-01 11:51:09 +01:00
parent 607367aeb1
commit e675bbcc49

View file

@ -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(