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

All modified and coverable lines are covered by tests ✅

Project coverage is 40.00%. Comparing base (d9af3b7) to head (a74fa18).
Report is 520 commits behind head on develop.

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ztelur ztelur requested review from ztelur, mark4z and xiaoliu10 January 8, 2022 13:24
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