Skip to content

feat: add support for RealNumberOfCpus for load average#2082

Merged
astandrik merged 5 commits intomainfrom
astandrik.2052
Apr 2, 2025
Merged

feat: add support for RealNumberOfCpus for load average#2082
astandrik merged 5 commits intomainfrom
astandrik.2052

Conversation

@astandrik
Copy link
Copy Markdown
Collaborator

@astandrik astandrik commented Apr 1, 2025

Closes #2052

CI Results

Test Status: ✅ PASSED

📊 Full Report

Total Passed Failed Flaky Skipped
286 286 0 0 0

😟 No changes in tests. 😕

Bundle Size: ✅

Current: 83.25 MB | Main: 83.25 MB
Diff: +0.15 KB (0.00%)

✅ Bundle size unchanged.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

Comment thread src/utils/nodes.ts Outdated
const cpuCount = RealNumberOfCpus ?? NumberOfCpus;

if (!valueIsDefined(LoadAverage) || !valueIsDefined(NumberOfCpus)) {
if (!valueIsDefined(LoadAverage) || !valueIsDefined(cpuCount) || cpuCount === 0) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if (!valueIsDefined(LoadAverage) || !cpuCount ?

@astandrik astandrik requested a review from Raubzeug April 1, 2025 14:11
@astandrik astandrik added this pull request to the merge queue Apr 2, 2025
Merged via the queue into main with commit 0bad262 Apr 2, 2025
7 checks passed
@astandrik astandrik deleted the astandrik.2052 branch April 2, 2025 07:35
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.

add support for RealNumberOfCpus for load average

3 participants