Skip to content

Remove the prestartminSpareThreads field from StandardThreadExecutor #510

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

Merged
merged 2 commits into from
May 10, 2022

Conversation

aooohan
Copy link
Member

@aooohan aooohan commented May 8, 2022

I found that in the constructor of the ThreadPoolExecutor, all core threads are started by default, so in the StandardThreadExecutor, prestartminSpareThreads becomes meaningless.But I don't know if it's right to just remove.

@markt-asf markt-asf merged commit 366bb95 into apache:main May 10, 2022
@aooohan aooohan deleted the remove_meaningless_code branch May 19, 2022 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants