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

improve: get cpu number in container #340

Merged
merged 1 commit into from
Jan 11, 2022
Merged

improve: get cpu number in container #340

merged 1 commit into from
Jan 11, 2022

Conversation

marlonfan
Copy link
Contributor

What this PR does:

Optimize the method of getting the number of cpu in the container

Which issue(s) this PR fixes:

Fixes #313

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@codecov-commenter
Copy link

codecov-commenter commented Jan 8, 2022

Codecov Report

Merging #340 (a74fa18) into develop (d9af3b7) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #340   +/-   ##
========================================
  Coverage    40.00%   40.00%           
========================================
  Files           53       53           
  Lines         3035     3035           
========================================
  Hits          1214     1214           
  Misses        1691     1691           
  Partials       130      130           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9af3b7...a74fa18. Read the comment docs.

Copy link
Member

@mark4z mark4z left a comment

Choose a reason for hiding this comment

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

LGTM

@ztelur ztelur merged commit eedc4e2 into apache:develop Jan 11, 2022
bobtthp pushed a commit to bobtthp/dubbo-go-pixiu that referenced this pull request Dec 12, 2022
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.

k8s 集群内部署的话直接用NumCPU()获取不到真实可用核心数
5 participants