mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 16:34:47 -04:00
Explicitly close the cursor
This commit is contained in:
parent
5a32e9273e
commit
ab655dca33
1 changed files with 1 additions and 0 deletions
|
@ -392,6 +392,7 @@ class DeviceInboxStore(BackgroundUpdateStore):
|
||||||
txn.execute(
|
txn.execute(
|
||||||
"DROP INDEX IF EXISTS device_inbox_stream_id"
|
"DROP INDEX IF EXISTS device_inbox_stream_id"
|
||||||
)
|
)
|
||||||
|
txn.close()
|
||||||
|
|
||||||
yield self.runWithConnection(reindex_txn)
|
yield self.runWithConnection(reindex_txn)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue