Skip to content

Conversation

@ipriver
Copy link
Contributor

@ipriver ipriver commented Sep 7, 2020

According to go 1.5 release notes:

By default, Go programs run with GOMAXPROCS set to the number of cores available; in prior releases it defaulted to 1.

There's no need anymore to call it with runtime.NumCPU() argument, it is now used as a default. Removed legacy GOMAXPROCS calls from the project.

Copy link
Contributor

@onyb onyb left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Member

@jcvernaleo jcvernaleo left a comment

Choose a reason for hiding this comment

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

Wow, that use of runtime was crazy old!

OK

@jcvernaleo jcvernaleo merged commit 42782bb into btcsuite:master Sep 14, 2020
@ipriver ipriver deleted the remove_gomaxprocs branch September 14, 2020 14:51
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