summary refs log tree commit diff
path: root/synapse/storage/deviceinbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/deviceinbox.py')
-rw-r--r--synapse/storage/deviceinbox.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/deviceinbox.py b/synapse/storage/deviceinbox.py
index b0ab70bafe..bde3b5cbbc 100644
--- a/synapse/storage/deviceinbox.py
+++ b/synapse/storage/deviceinbox.py
@@ -392,6 +392,7 @@ class DeviceInboxStore(BackgroundUpdateStore):
             txn.execute(
                 "DROP INDEX IF EXISTS device_inbox_stream_id"
             )
+            txn.close()
 
         yield self.runWithConnection(reindex_txn)