summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-01 14:37:33 +0100
committerErik Johnston <erik@matrix.org>2015-05-01 14:41:25 +0100
commit42c12c04f6aa30586a8f9779886374ab7bece2d1 (patch)
tree1fbda692fae0707ae369c40ee4f7078b91825928 /synapse/api/auth.py
parentDon't log all auth events every time we call auth.check (diff)
downloadsynapse-42c12c04f6aa30586a8f9779886374ab7bece2d1.tar.xz
Remove some run_on_reactors
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 0933521a1a..d0938375ec 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -20,7 +20,6 @@ from twisted.internet import defer
 from synapse.api.constants import EventTypes, Membership, JoinRules
 from synapse.api.errors import AuthError, Codes, SynapseError
 from synapse.util.logutils import log_function
-from synapse.util.async import run_on_reactor
 from synapse.types import UserID, ClientInfo
 
 import logging
@@ -427,8 +426,6 @@ class Auth(object):
 
     @defer.inlineCallbacks
     def add_auth_events(self, builder, context):
-        yield run_on_reactor()
-
         auth_ids = self.compute_auth_events(builder, context.current_state)
 
         auth_events_entries = yield self.store.add_event_hashes(