mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Co-authored-by: Erik Johnston <erik@matrix.org>
This commit is contained in:
parent
01d45fe964
commit
fb086edaed
1
changelog.d/10511.feature
Normal file
1
changelog.d/10511.feature
Normal file
@ -0,0 +1 @@
|
||||
Allow setting transaction limit for database connections.
|
@ -32,5 +32,5 @@ class SQLTransactionLimitTestCase(unittest.HomeserverTestCase):
|
||||
db_pool = self.hs.get_datastores().databases[0]
|
||||
|
||||
# force txn limit to roll over at least once
|
||||
for i in range(0, 1001):
|
||||
for _ in range(0, 1001):
|
||||
self.get_success_or_raise(db_pool.runInteraction("test_select", do_select))
|
||||
|
Loading…
Reference in New Issue
Block a user