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

fix outdated default value of minThreads #2898

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

floh0
Copy link
Contributor

@floh0 floh0 commented Sep 7, 2023

Fix an outdated default value for the scala.concurrent.context.minThreads VM attribute used in the global execution context.

This value was correct when this page was written but it is not the case anymore, since this commit:
scala/scala@e230409

The default value is now "1" as described in the JavaDoc of the global execution context:
https://github.com/scala/scala/blob/2.13.x/src/library/scala/concurrent/ExecutionContext.scala#L127

Or in the implementation directly:
https://github.com/scala/scala/blob/2.13.x/src/library/scala/concurrent/impl/ExecutionContextImpl.scala#L92

Copy link
Member

@bishabosha bishabosha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@bishabosha bishabosha merged commit daeb986 into scala:main Sep 8, 2023
1 check passed
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