0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-17 08:54:14 +01:00

Explicitly close the cursor

This commit is contained in:
Erik Johnston 2017-01-10 15:15:25 +00:00
parent 5a32e9273e
commit ab655dca33

View file

@ -392,6 +392,7 @@ class DeviceInboxStore(BackgroundUpdateStore):
txn.execute(
"DROP INDEX IF EXISTS device_inbox_stream_id"
)
txn.close()
yield self.runWithConnection(reindex_txn)