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 threads terminating before caching complete for multi-edge queries #351

Merged
merged 2 commits into from
Nov 8, 2021

Conversation

tokebe
Copy link
Member

@tokebe tokebe commented Nov 5, 2021

(addresses #348)

This ensures that threads are not terminated before all edge results can be cached. If for whatever reason caching is not to be used in a multi-edge query, waiting for each edge to be cached may be cancelled by messaging the thread handler with {cacheDone: true} instead of {cacheDone: 1}. Somewhat of a quick fix as a threading refactor is coming soon.

Requires biothings/bte_trapi_query_graph_handler#68

@tokebe tokebe merged commit 07ca3e6 into main Nov 8, 2021
@tokebe tokebe deleted the fix_348 branch October 25, 2023 20:04
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.

1 participant