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

Ported combined FT test to Nima and enhancements to Async #4840

Merged
merged 4 commits into from
Sep 13, 2022

Conversation

spericas
Copy link
Member

@spericas spericas commented Sep 6, 2022

  • Ported combined test (FaultToleranceTest) to Nima
  • Enhanced Async to support executors and a builder
  • Minor fixes to TimeoutImpl

- Enhanced Async to support executors and a builder
- Minor fixes to TimeoutImpl
@spericas spericas added this to the 4.0.0 milestone Sep 6, 2022
@spericas spericas self-assigned this Sep 6, 2022
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
…ners are called right before blocking on the semaphore and before supplier is ready execute after dequeuing.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Copy link
Member

@tomas-langer tomas-langer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one small comment

private final LazyValue<? extends ExecutorService> executor;

AsyncImpl() {
this.executor = LazyValue.create(Executors.newVirtualThreadPerTaskExecutor());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to have this logic in builder, and the constructor just uses the values.

@spericas spericas merged commit b269401 into helidon-io:main Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants