forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RestController not using thread context directly from thread pool (el…
…astic#74293) At the moment thread context is passed via dispatchRequest but in some places thread context is fetched directly from thread pool This is not a problem in production, because thread pool is initialized with the same thread context as the one passed to dispatchRequest via AbstractHttpServerTransport. It might be harder to understand though and might cause problems in testing in smaller units.
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters