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

no longer hard code gomaxprocs #3357

Merged
merged 1 commit into from
Nov 5, 2016
Merged

no longer hard code gomaxprocs #3357

merged 1 commit into from
Nov 5, 2016

Conversation

whyrusleeping
Copy link
Member

This hasnt been needed since go started auto-detecting the correct number of processors to use.

License: MIT
Signed-off-by: Jeromy why@ipfs.io

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
@ghost
Copy link

ghost commented Nov 4, 2016

LGTM -- it would still be nice to override this with an environment variable, but this PR is fine

@djdv
Copy link
Contributor

djdv commented Nov 5, 2016

@lgierth
I believe you can set the environment variable GOMAXPROCS to change this at runtime, I can't seem to find a better reference than this though:

GOMAXPROCS can be set explicitly using the GOMAXPROCS environment variable or by calling runtime.GOMAXPROCS from within a program.

https://docs.google.com/document/d/1At2Ls5_fhJQ59kDK2DFVhFu3g5mATSXqqV5QrxinasI/view

@Kubuxu
Copy link
Member

Kubuxu commented Nov 5, 2016

LGTM

@ghost
Copy link

ghost commented Nov 5, 2016

awesome then

@whyrusleeping whyrusleeping merged commit 5fcd73d into master Nov 5, 2016
@whyrusleeping whyrusleeping deleted the fix/old-goprocs branch November 5, 2016 18:35
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Nov 5, 2016
@ghost ghost mentioned this pull request Dec 23, 2016
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.

3 participants