Skip to content
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

PayaraExecutorService - Increasing default queue size and adding RejectedExecutionHandler CallerRunsPolicy #3497

Merged
merged 1 commit into from Dec 7, 2018

Conversation

Projects
None yet
3 participants
@svendiedrichsen
Copy link
Contributor

svendiedrichsen commented Dec 6, 2018

  • increasing default queue size to 500 which makes pool exhaustion less likely
  • adding RejectedExecutionHandler ThreadPoolExecutor.CallerRunsPolicy to prevent task rejection when pool is exhausted with the effect that the task is run in the callers thread immediatley

Fixes #3495

#3495 increasing default queue size to 500 and adding RejectedExecuti…
…onHandler CallerRunsPolicy to prevent task rejection

@arjantijms arjantijms requested review from smillidge and MattGill98 Dec 7, 2018

@smillidge smillidge added this to the 5.191 milestone Dec 7, 2018

@smillidge

This comment has been minimized.

Copy link
Contributor

smillidge commented Dec 7, 2018

jenkins test please

@smillidge smillidge merged commit ceb8b04 into payara:master Dec 7, 2018

1 check passed

Payara Quick Build and Test Quick build and test passed!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.