Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

change default value of --process to (number of CPUs)-1#4104

Merged
AyanSinhaMahapatra merged 1 commit intoaboutcode-org:developfrom
xsuchy:2980
Jun 25, 2025
Merged

change default value of --process to (number of CPUs)-1#4104
AyanSinhaMahapatra merged 1 commit intoaboutcode-org:developfrom
xsuchy:2980

Conversation

Copy link
Contributor

xsuchy commented Jan 18, 2025

Related: #2980

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled and links the original issue above
  • [-] Tests pass -- look for a green checkbox a few minutes after opening your PR
    Run tests locally to check for errors.
    Test suite fails to run for me, but the script run correctly.
  • Commits are in uniquely-named feature branch and has no merge conflicts
  • Updated documentation pages (if applicable)
  • Updated CHANGELOG.rst (if applicable)

xsuchy force-pushed the 2980 branch 2 times, most recently from cc8c78b to 4ded913 Compare January 23, 2025 18:48
Copy link
Contributor Author

xsuchy commented Jan 23, 2025

I believe the tests failures on MacOS is not relevant to this code.

AyanSinhaMahapatra reacted with thumbs up emoji

AyanSinhaMahapatra requested a review from pombredanne April 4, 2025 20:25
AyanSinhaMahapatra approved these changes Apr 5, 2025
Copy link
Member

AyanSinhaMahapatra left a comment *
edited
Loading

Choose a reason for hiding this comment

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

@xsuchy Thanks++ for the PR.
Overall this sounds like a nice idea, to increase the number of CPUs by default.
It seems like we have an agreement to have this at n-1 from #2980, and this sounds mostly fine to me, although n-2 could have been safer when users might have multiple other things open/in use if they are running scancode in their personal computers. But everywhere else this sounds great, and folks can always reduce the default CPU if it creates problems.

Not sure about the test failures, could you merge latest develop just to be sure?

@pombredanne please review this too.

xsuchy force-pushed the 2980 branch from 4ded913 to b9159cc Compare April 5, 2025 14:16
Copy link
Contributor Author

xsuchy commented Apr 5, 2025

Rebased on top of develop branch.

DennisClark approved these changes Jun 24, 2025
Copy link
Member

DennisClark left a comment

Choose a reason for hiding this comment

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

excellent improvement!

AyanSinhaMahapatra reacted with thumbs up emoji
Copy link
Member

AyanSinhaMahapatra commented Jun 25, 2025

Thanks++ @xsuchy, this is a great addition! Merging.

AyanSinhaMahapatra merged commit 275d0df into aboutcode-org:develop Jun 25, 2025
32 of 38 checks passed
AyanSinhaMahapatra mentioned this pull request Jul 9, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

DennisClark DennisClark approved these changes

AyanSinhaMahapatra AyanSinhaMahapatra approved these changes

pombredanne Awaiting requested review from pombredanne

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants