mirror of
https://github.com/element-hq/synapse.git
synced 2026-04-28 06:16:17 +00:00
Explicitly close the cursor
This commit is contained in:
@@ -392,6 +392,7 @@ class DeviceInboxStore(BackgroundUpdateStore):
|
||||
txn.execute(
|
||||
"DROP INDEX IF EXISTS device_inbox_stream_id"
|
||||
)
|
||||
txn.close()
|
||||
|
||||
yield self.runWithConnection(reindex_txn)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user