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

Fix WoT dispatcher starvation by adding timeouts to fetch models #1658

Merged
merged 1 commit into from Jun 22, 2023

Conversation

thjaeckle
Copy link
Member

When fetching WoT TMs there was no timeout and a join() on a CompletableFuture then potentially blocks a thread forever.

I added timeouts whenever TMs are fetched via CompletableFuture which should fix this.

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
@thjaeckle thjaeckle added the bug label Jun 16, 2023
@thjaeckle thjaeckle added this to the 3.3.0 milestone Jun 16, 2023
@thjaeckle thjaeckle self-assigned this Jun 16, 2023
@thjaeckle thjaeckle merged commit c0e8e0f into master Jun 22, 2023
3 checks passed
@thjaeckle thjaeckle deleted the bugfix/wot-dispatcher branch June 22, 2023 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant