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

add configuration of the maximum sql execution time #348

Open
zuochangqin opened this issue Sep 13, 2023 · 1 comment
Open

add configuration of the maximum sql execution time #348

zuochangqin opened this issue Sep 13, 2023 · 1 comment

Comments

@zuochangqin
Copy link

Since this extension does not support reaction, I can only use multiple threads to operate the data. However, in the process of use, sometimes due to database problems, the operation is stuck and will not return for a long time, which will cause the thread execution time to exceed the maximum allowed time of quarkus thread, resulting in some unexpected errors. May I ask if there is any configuration that can control this sql execution return time? For example, after a certain period of time, directly throw an exception, you can know that there is a problem with the execution, so that you can retry.

@zhfeng
Copy link
Collaborator

zhfeng commented Sep 19, 2023

Well, I think it could take some configurations on the jdbc level, such as a timeout?

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

No branches or pull requests

2 participants