dimas-b commented on PR #1817:
URL: https://github.com/apache/polaris/pull/1817#issuecomment-2944345138

   `@ActivateRequestContext` in combination with 
`.propagated(ThreadContext.NONE)` (see it in diff) result in the creation of a 
new, independent request context for each (async) task.
   
   `PolarisRequestContext` and all other `@RequestScoped` objects still expire 
at the end the request, but this "request" for task is the lifecycle of the 
`QuarkusTaskExecutorImpl.handleTask()` method call now.
   
   `PolarisRequestContext` does not need to be accessed directly by tasks. In 
most cases relevant objects are injected by CDI.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to