-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Scheduler - support non-blocking scheduled methods #24621
Labels
Milestone
Comments
See also #21428 |
Yup, that would be the next phase ;-). |
mkouba
added a commit
to mkouba/quarkus
that referenced
this issue
Mar 31, 2022
mkouba
added a commit
to mkouba/quarkus
that referenced
this issue
Mar 31, 2022
mkouba
added a commit
to mkouba/quarkus
that referenced
this issue
Mar 31, 2022
mkouba
added a commit
to mkouba/quarkus
that referenced
this issue
Mar 31, 2022
mkouba
added a commit
to mkouba/quarkus
that referenced
this issue
Apr 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Currently, a scheduled method is always invoked on a thread from the core thread pool. As a result, you can't e.g. use Hibernate Reactive in a scheduled method. A workaround is to inject the managed
Vertx
and useVertx.runOnContext()
.We could either use
@io.smallrye.common.annotation.NonBlocking
to mark a scheduled method as non-blocking or allow a scheduled method to return an async type such asUni
.Implementation ideas
No response
The text was updated successfully, but these errors were encountered: