mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 06:10:21 +00:00
Remove run_on_reactor()s
This commit is contained in:
parent
4af32a2817
commit
e845434028
1 changed files with 0 additions and 4 deletions
|
@ -58,8 +58,6 @@ class BaseHandler(object):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def _create_new_client_event(self, builder):
|
||||
yield run_on_reactor()
|
||||
|
||||
latest_ret = yield self.store.get_latest_events_in_room(
|
||||
builder.room_id,
|
||||
)
|
||||
|
@ -101,8 +99,6 @@ class BaseHandler(object):
|
|||
@defer.inlineCallbacks
|
||||
def handle_new_client_event(self, event, context, extra_destinations=[],
|
||||
extra_users=[], suppress_auth=False):
|
||||
yield run_on_reactor()
|
||||
|
||||
# We now need to go and hit out to wherever we need to hit out to.
|
||||
|
||||
if not suppress_auth:
|
||||
|
|
Loading…
Reference in a new issue