Co-authored-by: Erik Johnston <erik@matrix.org>
This commit is contained in:
parent
01d45fe964
commit
fb086edaed
|
@ -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