Skip to content

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.

@sonarqubecloud
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