forked from MirrorHub/synapse
Co-authored-by: Erik Johnston <erik@matrix.org>
This commit is contained in:
parent
01d45fe964
commit
fb086edaed
2 changed files with 2 additions and 1 deletions
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 a new issue