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

NAS-133068 / 25.04 / Fix double-caching cpu info #15199

Merged
merged 3 commits into from
Dec 13, 2024
Merged

Conversation

yocalebo
Copy link
Contributor

@yocalebo yocalebo commented Dec 13, 2024

We were double-caching CPU information in our system.cpu_info method and the get_cpu_info function. This does 3 primary things:

  1. stop double-caching this information
  2. remove duplicate functions that do the same thing and standardize all callers
  3. remove psutil module from utils/cpu.py

@yocalebo yocalebo requested a review from a team December 13, 2024 13:42
@bugclerk bugclerk changed the title Fix double-caching cpu info NAS-133068 / 25.04 / Fix double-caching cpu info Dec 13, 2024
@bugclerk
Copy link
Contributor

@truenas truenas deleted a comment from bugclerk Dec 13, 2024
@yocalebo yocalebo merged commit 0ac18d7 into master Dec 13, 2024
2 checks passed
@yocalebo yocalebo deleted the fix-cpu-info branch December 13, 2024 14:04
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants