summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-06-07 17:51:25 +0100
committerGitHub <noreply@github.com>2017-06-07 17:51:25 +0100
commitc62c480dc6f166f65580fad377cdbd28849978a1 (patch)
tree7a24a41a68080274770c5903cf9a4df5d989e63e /synapse/storage/__init__.py
parentMerge pull request #2258 from matrix-org/erikj/user_dir (diff)
parentFix bug where state_group tables got corrupted (diff)
downloadsynapse-c62c480dc6f166f65580fad377cdbd28849978a1.tar.xz
Merge pull request #2259 from matrix-org/erikj/fix_state_woes
Fix bug where state_group tables got corrupted
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 3c88ba9860..5e72985cda 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -239,7 +239,8 @@ class DataStore(RoomMemberStore, RoomStore,
             db_conn.cursor(),
             name="_find_stream_orderings_for_times_txn",
             database_engine=self.database_engine,
-            after_callbacks=[]
+            after_callbacks=[],
+            final_callbacks=[],
         )
         self._find_stream_orderings_for_times_txn(cur)
         cur.close()