-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #12171 - QoSHandler does not resume on a virtual thread.
Now QoSHandler attempts to resume using a virtual thread if the request was handled with a virtual thread and then suspended. Removed warn() from VirtualThreads.isVirtualThread(), it was too verbose. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
- Loading branch information
Showing
3 changed files
with
96 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,6 @@ public static boolean isVirtualThread() | |
} | ||
catch (Throwable x) | ||
{ | ||
warn(); | ||
return false; | ||
} | ||
} | ||
|