-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use context manager for transactions (#2290)
* Always use context manager for transactions * Remove wait_for_abort * Remove transaction.begin(), only context manager * Better pool timeout handling * Add PG pool metrics (#2295)
- Loading branch information
1 parent
538b47a
commit 85e9504
Showing
33 changed files
with
751 additions
and
1,119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
85e9504
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
tests/search/unit/search/test_fetch.py::test_highligh_error
2926.53900792355
iter/sec (stddev: 0.0000027998403812798556
)2841.0684406726436
iter/sec (stddev: 0.000004954958228416619
)0.97
This comment was automatically generated by workflow using github-action-benchmark.
85e9504
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
tests/search/unit/search/test_fetch.py::test_highligh_error
3054.209676031114
iter/sec (stddev: 0.000005055790648691623
)2841.0684406726436
iter/sec (stddev: 0.000004954958228416619
)0.93
This comment was automatically generated by workflow using github-action-benchmark.