diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-01 14:37:33 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-01 14:41:25 +0100 |
commit | 42c12c04f6aa30586a8f9779886374ab7bece2d1 (patch) | |
tree | 1fbda692fae0707ae369c40ee4f7078b91825928 /synapse/notifier.py | |
parent | Don't log all auth events every time we call auth.check (diff) | |
download | synapse-42c12c04f6aa30586a8f9779886374ab7bece2d1.tar.xz |
Remove some run_on_reactors
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r-- | synapse/notifier.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index ea854482b5..78eb28e4b2 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -17,7 +17,6 @@ from twisted.internet import defer from synapse.util.logutils import log_function from synapse.util.logcontext import PreserveLoggingContext -from synapse.util.async import run_on_reactor from synapse.types import StreamToken import synapse.metrics @@ -162,8 +161,6 @@ class Notifier(object): listening to the room, and any listeners for the users in the `extra_users` param. """ - yield run_on_reactor() - # poke any interested application service. self.hs.get_handlers().appservice_handler.notify_interested_services( event @@ -240,8 +237,6 @@ class Notifier(object): Will wake up all listeners for the given users and rooms. """ - yield run_on_reactor() - # TODO(paul): This is horrible, having to manually list every event # source here individually presence_source = self.event_sources.sources["presence"] |