Skip to content
Snippets Groups Projects
Commit f756f961 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fixup comments

parent 28e973ac
No related branches found
No related tags found
No related merge requests found
......@@ -574,8 +574,6 @@ class EventCreationHandler(object):
)
try:
# We now need to go and hit out to wherever we need to hit out to.
# If we're a worker we need to hit out to the master.
if self.config.worker_app:
yield send_event_to_master(
......@@ -610,8 +608,10 @@ class EventCreationHandler(object):
ratelimit=True,
extra_users=[],
):
"""Called when we have fully built and authed the event. This should
only be run on master.
"""Called when we have fully built the event, and have already
calculated the push actions for the event.
This should only be run on master.
"""
assert not self.config.worker_app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment