Fix clashing DB txn name (#15070)

* Fix clashing DB txn name

* Newsfile
This commit is contained in:
Erik Johnston 2023-02-14 12:20:25 +01:00 committed by GitHub
parent f09db5c991
commit cb262713b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/15070.misc Normal file
View File

@ -0,0 +1 @@
Fix clashing database transaction name.

View File

@ -262,7 +262,7 @@ class EndToEndKeyWorkerStore(EndToEndKeyBackgroundStore, CacheInvalidationWorker
for batch in batch_iter(signature_query, 50): for batch in batch_iter(signature_query, 50):
cross_sigs_result = await self.db_pool.runInteraction( cross_sigs_result = await self.db_pool.runInteraction(
"get_e2e_cross_signing_signatures", "get_e2e_cross_signing_signatures_for_devices",
self._get_e2e_cross_signing_signatures_for_devices_txn, self._get_e2e_cross_signing_signatures_for_devices_txn,
batch, batch,
) )