-
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
Health check called on the event loop #4531
Comments
The issue is that the route would also require the request scope. |
Can we define specific routes to execute on the worker instead of IO thread? I presume it's fine to have /health and /metrics served from a worker thread instead? |
cescoffier
added a commit
to cescoffier/quarkus
that referenced
this issue
Oct 14, 2019
cescoffier
added a commit
to cescoffier/quarkus
that referenced
this issue
Oct 14, 2019
As stated in the issue, the request scope must also be activated.
cescoffier
added a commit
to cescoffier/quarkus
that referenced
this issue
Oct 14, 2019
As stated in the issue, the request scope must also be activated.
cescoffier
added a commit
to cescoffier/quarkus
that referenced
this issue
Oct 14, 2019
As stated in the issue, the request scope must also be activated.
cescoffier
added a commit
to cescoffier/quarkus
that referenced
this issue
Oct 14, 2019
As stated in the issue, the request scope must also be activated.
cescoffier
added a commit
to cescoffier/quarkus
that referenced
this issue
Oct 14, 2019
As stated in the issue, the request scope must also be activated.
CSTDev
pushed a commit
to CSTDev/quarkus
that referenced
this issue
Oct 22, 2019
As stated in the issue, the request scope must also be activated.
dufoli
pushed a commit
to dufoli/quarkus
that referenced
this issue
Oct 23, 2019
As stated in the issue, the request scope must also be activated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
With the following class:
The call fails because it tries to access the database from an IO Thread.
Expected behavior
It should use a worker thread.
Actual behavior
It uses the event loop thread
The text was updated successfully, but these errors were encountered: