mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 02:04:48 -04:00
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.
This commit is contained in:
parent
ebc5ed1296
commit
bd2e1a2aa8
3 changed files with 16 additions and 6 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue