summary refs log tree commit diff
path: root/synapse/storage/event_push_actions.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-19 13:36:04 +0100
committerErik Johnston <erik@matrix.org>2019-07-19 13:36:04 +0100
commitbd2e1a2aa86b81d232f9d14d2a82a04de4b1643d (patch)
tree2aac94bda64329e41cb0169f42efebdc2a1ea756 /synapse/storage/event_push_actions.py
parentUpdate comment for new column (diff)
downloadsynapse-bd2e1a2aa86b81d232f9d14d2a82a04de4b1643d.tar.xz
LoggingTransaction accepts None for callback lists.
Its a bit disingenuousto give LoggingTransaction lists to append
callbacks to if we're not going to run the callbacks.
Diffstat (limited to 'synapse/storage/event_push_actions.py')
-rw-r--r--synapse/storage/event_push_actions.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py
index eca77069fd..dcfb67e029 100644
--- a/synapse/storage/event_push_actions.py
+++ b/synapse/storage/event_push_actions.py
@@ -79,8 +79,6 @@ class EventPushActionsWorkerStore(SQLBaseStore):
             db_conn.cursor(),
             name="_find_stream_orderings_for_times_txn",
             database_engine=self.database_engine,
-            after_callbacks=[],
-            exception_callbacks=[],
         )
         self._find_stream_orderings_for_times_txn(cur)
         cur.close()