Skip to content

Improve health check responsiveness #1623

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

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

IvanBorislavovDimitrov
Copy link
Contributor

@IvanBorislavovDimitrov IvanBorislavovDimitrov commented Apr 8, 2025

Increase the maximum number of threads for the executors to avoid situations where calls get stuck. If a call uses a thread from the executor and a new thread cannot be acquired, it may lead to a RejectedExecutionException, causing potential false positives.
Even if a timeout occurs this does not release the thread and the executor cannot run another thread as this thread is still doing something even though the future timeout.
Cancel futures that are timing out to at least try to interrupt the thread.

Copy link

sonarqubecloud bot commented Apr 8, 2025

@IvanBorislavovDimitrov IvanBorislavovDimitrov merged commit ea0d446 into master Apr 8, 2025
7 of 8 checks passed
@IvanBorislavovDimitrov IvanBorislavovDimitrov deleted the improve-health-check branch April 8, 2025 11:58
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.

2 participants