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

Set GOMAXPROCS > 1 #118

Closed
wants to merge 3 commits into from
Closed

Set GOMAXPROCS > 1 #118

wants to merge 3 commits into from

Conversation

tgwizard
Copy link
Contributor

@tgwizard tgwizard commented Feb 2, 2015

This it should be, according to https://groups.google.com/forum/#!topic/consul-tool/qewFEqgAoF8. This PR still makes it possible to set it to one, just changes the default to max(node['cpu']['total'], 2).

One issue with this change though is that the consul service isn't restarted when the change has been applied to /etc/default/consul. A :restart notification could be added for that resource, but then the service would also be restarted once on the initial install. I'm not sure how this should be solved, and if.

@@ -0,0 +1 @@
consul-cookbook

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 9208476 on tgwizard:set-gomaxprocs-gte-2 into e332fc9 on johnbellone:master.

@johnbellone
Copy link
Contributor

Please rebase!

johnbellone added a commit that referenced this pull request Feb 13, 2015
johnbellone added a commit that referenced this pull request Mar 14, 2015
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants