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

Fix codestyle CI from #10440 #10511

Merged
merged 2 commits into from
Aug 2, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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):
reivilibre marked this conversation as resolved.
Show resolved Hide resolved
self.get_success_or_raise(db_pool.runInteraction("test_select", do_select))