Fix codestyle CI from #10440 (#10511)

Co-authored-by: Erik Johnston <erik@matrix.org>
This commit is contained in:
reivilibre 2021-08-02 16:50:22 +01:00 committed by GitHub
parent 01d45fe964
commit fb086edaed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Allow setting transaction limit for database connections.

View File

@ -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))