Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: EXPOSED-224 Add query timeout at Transaction #1890

Merged

Conversation

FullOfOrange
Copy link
Contributor

@FullOfOrange FullOfOrange commented Nov 22, 2023

related issue #1671

This is a PR to support timeout in Transaction.

I simply added a timeout to the PreparedStatement so that it can use the DB driver's timeout.

For now, I only want to use timeout in transactions, so I kept the implementation as simple as possible. This could be extended in the future to use timeout wherever it is needed.

@FullOfOrange FullOfOrange marked this pull request as draft November 22, 2023 07:46
@bog-walk bog-walk self-assigned this Nov 22, 2023
@FullOfOrange FullOfOrange marked this pull request as ready for review November 23, 2023 10:17
@FullOfOrange FullOfOrange changed the title #1671 Add query timeout at transaction #1671 Add query timeout at Transaction Nov 23, 2023
@FullOfOrange FullOfOrange changed the title #1671 Add query timeout at Transaction #1671 feat: Add query timeout at Transaction Nov 23, 2023
@bog-walk bog-walk changed the title #1671 feat: Add query timeout at Transaction feat: EXPOSED-224 Add query timeout at Transaction Nov 23, 2023
@bog-walk bog-walk requested a review from e5l November 24, 2023 12:38
@bog-walk bog-walk merged commit 1c5c5e3 into JetBrains:main Nov 24, 2023
3 checks passed
@FullOfOrange FullOfOrange deleted the fulloforange/transaction-query-timeout branch November 24, 2023 17:04
@FullOfOrange
Copy link
Contributor Author

Spring transaction timeout support at #1897

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants