forked from MirrorHub/synapse
Fixup comments
This commit is contained in:
parent
28e973ac11
commit
f756f961ea
1 changed files with 4 additions and 4 deletions
|
@ -574,8 +574,6 @@ class EventCreationHandler(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
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 we're a worker we need to hit out to the master.
|
||||||
if self.config.worker_app:
|
if self.config.worker_app:
|
||||||
yield send_event_to_master(
|
yield send_event_to_master(
|
||||||
|
@ -610,8 +608,10 @@ class EventCreationHandler(object):
|
||||||
ratelimit=True,
|
ratelimit=True,
|
||||||
extra_users=[],
|
extra_users=[],
|
||||||
):
|
):
|
||||||
"""Called when we have fully built and authed the event. This should
|
"""Called when we have fully built the event, and have already
|
||||||
only be run on master.
|
calculated the push actions for the event.
|
||||||
|
|
||||||
|
This should only be run on master.
|
||||||
"""
|
"""
|
||||||
assert not self.config.worker_app
|
assert not self.config.worker_app
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue