Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix codestyle CI from #10440
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Aug 2, 2021
1 parent 01d45fe commit f6b2dda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/10511.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow setting transaction limit for database connections.
2 changes: 1 addition & 1 deletion tests/storage/test_txn_limit.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def do_select(txn):
db_pool = self.hs.get_datastores().databases[0]

# force txn limit to roll over at least once
for i in range(0, 1001):
for _i in range(0, 1001):
self.get_success_or_raise(db_pool.runInteraction("test_select", do_select))

0 comments on commit f6b2dda

Please sign in to comment.