diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-07-26 14:55:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 14:55:57 +0100 |
commit | ef9d51b081e443772daa88865cf55355e957b57b (patch) | |
tree | 6ffc1e3336e59b71e4526c553d8031edf48dd871 /synapse/storage/event_push_actions.py | |
parent | comment on event_edges (diff) | |
parent | Fix some looping_call calls which were broken in #3604 (diff) | |
download | synapse-ef9d51b081e443772daa88865cf55355e957b57b.tar.xz |
Merge pull request #3610 from matrix-org/rav/fix_looping_calls
Fix some looping_call calls which were broken in #3604
Diffstat (limited to 'synapse/storage/event_push_actions.py')
-rw-r--r-- | synapse/storage/event_push_actions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py index 4f44b0ad47..6840320641 100644 --- a/synapse/storage/event_push_actions.py +++ b/synapse/storage/event_push_actions.py @@ -460,7 +460,7 @@ class EventPushActionsWorkerStore(SQLBaseStore): ) def _find_stream_orderings_for_times(self): - run_as_background_process( + return run_as_background_process( "event_push_action_stream_orderings", self.runInteraction, "_find_stream_orderings_for_times", @@ -790,7 +790,7 @@ class EventPushActionsStore(EventPushActionsWorkerStore): """, (room_id, user_id, stream_ordering)) def _start_rotate_notifs(self): - run_as_background_process("rotate_notifs", self._rotate_notifs) + return run_as_background_process("rotate_notifs", self._rotate_notifs) @defer.inlineCallbacks def _rotate_notifs(self): |