Skip to content

Fix arm system cpu frequency retrieval#385

Merged
wu-clan merged 6 commits into
fastapi-practices:masterfrom
yshan2028:master
Aug 21, 2024
Merged

Fix arm system cpu frequency retrieval#385
wu-clan merged 6 commits into
fastapi-practices:masterfrom
yshan2028:master

Conversation

@yshan2028

Copy link
Copy Markdown
Contributor

Fix: Disable CPU frequency retrieval on macOS systems with Apple Silicon (closes #384)

@wu-clan
wu-clan self-requested a review August 20, 2024 01:36

@wu-clan wu-clan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

otherwise LGTM.

Comment thread backend/utils/server_info.py Outdated
Comment thread backend/utils/server_info.py Outdated
Comment thread backend/utils/server_info.py Outdated
liuyue added 4 commits August 20, 2024 10:07
# Conflicts:
#	backend/utils/server_info.py
# Conflicts:
#	backend/utils/server_info.py
# Conflicts:
#	backend/utils/server_info.py
@yshan2028

yshan2028 commented Aug 20, 2024

Copy link
Copy Markdown
Contributor Author

macOS 问题已经解决了,两个应该都支持的,请测试 window 和 Linux 系统是否正常
image

@wu-clan
wu-clan self-requested a review August 21, 2024 12:54
@wu-clan wu-clan changed the title Fix: Disable CPU frequency retrieval on macOS systems with Apple Sili… Fix arm system cpu frequency retrieval Aug 21, 2024
@wu-clan
wu-clan merged commit bb0d7f3 into fastapi-practices:master Aug 21, 2024
chuxijin pushed a commit to chuxijin/fba that referenced this pull request Feb 8, 2026
* Fix: Disable CPU frequency retrieval on macOS systems with Apple Silicon (closes fastapi-practices#384)

* Fix: Solve the single quote problem

---------

Co-authored-by: liuyue <yshan2028@gmail.com>
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.

macOS 系统不支持获取频率信息

2 participants