Skip to content

fix: use command substitution for GOMAXPROCS instead of literal string#2502

Open
caiyesd wants to merge 1 commit intoe2b-dev:mainfrom
caiyesd:main
Open

fix: use command substitution for GOMAXPROCS instead of literal string#2502
caiyesd wants to merge 1 commit intoe2b-dev:mainfrom
caiyesd:main

Conversation

@caiyesd
Copy link
Copy Markdown

@caiyesd caiyesd commented Apr 26, 2026

GOMAXPROCS='nproc' sets the literal string "nproc" rather than the CPU count. Use $(nproc) to correctly capture the output of the command.

`GOMAXPROCS='nproc'` sets the literal string "nproc" rather than the
CPU count. Use `$(nproc)` to correctly capture the output of the command.

Signed-off-by: caiyesd <caiyesd@gmail.com>
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

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.

2 participants