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/transactions.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/transactions.py')
-rw-r--r-- | synapse/storage/transactions.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py index b4b479d94c..428e7fa36e 100644 --- a/synapse/storage/transactions.py +++ b/synapse/storage/transactions.py @@ -273,7 +273,9 @@ class TransactionStore(SQLBaseStore): return self.cursor_to_dict(txn) def _start_cleanup_transactions(self): - run_as_background_process("cleanup_transactions", self._cleanup_transactions) + return run_as_background_process( + "cleanup_transactions", self._cleanup_transactions, + ) def _cleanup_transactions(self): now = self._clock.time_msec() |