diff options
author | Erik Johnston <erik@matrix.org> | 2019-07-19 13:36:04 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-07-19 13:36:04 +0100 |
commit | bd2e1a2aa86b81d232f9d14d2a82a04de4b1643d (patch) | |
tree | 2aac94bda64329e41cb0169f42efebdc2a1ea756 /synapse/storage/event_push_actions.py | |
parent | Update comment for new column (diff) | |
download | synapse-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.py | 2 |
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() |