summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-15 15:05:45 +0100
committerErik Johnston <erik@matrix.org>2015-04-15 15:05:45 +0100
commite845434028ff52f25c5b967c2d1dffcb716ed31e (patch)
tree0a8c5abd0bd67b4e0e004bfd0f4e47b4bfd55d66 /synapse/handlers
parentPostgres does not allow you to continue using a cursor after a DB exception h... (diff)
downloadsynapse-e845434028ff52f25c5b967c2d1dffcb716ed31e.tar.xz
Remove run_on_reactor()s
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/_base.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py
index 48816a242d..d0c027de3a 100644
--- a/synapse/handlers/_base.py
+++ b/synapse/handlers/_base.py
@@ -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: