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

pool_size: default to amount of CPU cores #579

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak added the enhancement New feature or request label Jul 5, 2022
@bastelfreak bastelfreak self-assigned this Jul 5, 2022
@bastelfreak bastelfreak force-pushed the bastelfreak-patch-1 branch from f85d6a9 to 96a6b30 Compare July 5, 2022 07:39
@@ -15,7 +15,7 @@
$sources = undef
$puppet_master = true
$proxy = undef
$pool_size = undef
$pool_size = $facts['processors']['count']
Copy link
Member

Choose a reason for hiding this comment

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

often one does cpu.count - 1 to not completely utilize the system.
is this a thing we should consider here to?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think we need to consider it. My impression is that this is mostly IO bound or limited by the performance forge.puppet.com delivers.

Copy link
Member

Choose a reason for hiding this comment

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

okay. 👍 just came to my mind when i saw this change 🤔

@bastelfreak bastelfreak merged commit b2951a6 into master Jul 5, 2022
@bastelfreak bastelfreak deleted the bastelfreak-patch-1 branch July 5, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants