-
Notifications
You must be signed in to change notification settings - Fork 2k
Limit ReservedThread creation #13837
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
Conversation
Signed-off-by: Oleksandr Krutko <alexander.krutko@gmail.com>
jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ReservedThreadExecutor.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ReservedThreadExecutor.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ReservedThreadExecutor.java
Outdated
Show resolved
Hide resolved
|
@arsenalzp also please change the 3-parameters constructor to pass 0 as default value, not -1. |
Signed-off-by: Oleksandr Krutko <alexander.krutko@gmail.com>
sbordet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arsenalzp these changes broke 3 tests, see ReservedThreadExecutorTest.
Can you please take a look and understand why they failed?
Please report your findings in the PR.
The code fall down into this statement because Lines 230 to 234 in 852e3b0
|
Signed-off-by: Oleksandr Krutko <alexander.krutko@gmail.com>
|
@arsenalzp good job! Thank you! |
This PR closes issue #13707