Fix missing attributes on workers.

This was missed during the transition from attribute to getter for
getting state from context.
This commit is contained in:
Erik Johnston 2018-07-23 16:28:00 +01:00
parent 37e87611bc
commit 0faa3223cd
3 changed files with 14 additions and 8 deletions

View file

@ -807,8 +807,9 @@ class EventCreationHandler(object):
# If we're a worker we need to hit out to the master.
if self.config.worker_app:
yield send_event_to_master(
self.hs.get_clock(),
self.http_client,
clock=self.hs.get_clock(),
store=self.store,
client=self.http_client,
host=self.config.worker_replication_host,
port=self.config.worker_replication_http_port,
requester=requester,