diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-14 18:27:37 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 18:27:37 +1000 |
commit | a61738b316db70a4184d5c355696e0a039e7867f (patch) | |
tree | caca1a3ef0267aad2827f2f46755161d41f2ad5a /synapse/push/pusherpool.py | |
parent | Merge pull request #3368 from matrix-org/rav/fix_federation_client_host (diff) | |
download | synapse-a61738b316db70a4184d5c355696e0a039e7867f.tar.xz |
Remove run_on_reactor (#3395)
Diffstat (limited to 'synapse/push/pusherpool.py')
-rw-r--r-- | synapse/push/pusherpool.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py index 750d11ca38..36bb5bbc65 100644 --- a/synapse/push/pusherpool.py +++ b/synapse/push/pusherpool.py @@ -19,7 +19,6 @@ import logging from twisted.internet import defer from synapse.push.pusher import PusherFactory -from synapse.util.async import run_on_reactor from synapse.util.logcontext import make_deferred_yieldable, run_in_background logger = logging.getLogger(__name__) @@ -125,7 +124,6 @@ class PusherPool: @defer.inlineCallbacks def on_new_notifications(self, min_stream_id, max_stream_id): - yield run_on_reactor() try: users_affected = yield self.store.get_push_action_users_in_range( min_stream_id, max_stream_id @@ -151,7 +149,6 @@ class PusherPool: @defer.inlineCallbacks def on_new_receipts(self, min_stream_id, max_stream_id, affected_room_ids): - yield run_on_reactor() try: # Need to subtract 1 from the minimum because the lower bound here # is not inclusive |