Skip to content

Correct the documented default concurrency limit - #358

Merged
sidepelican merged 1 commit into
uber:masterfrom
KYHyeon:feature/jamie/fix-concurrency-help
Sep 8, 2026
Merged

sidepelican merged 1 commit into
uber:masterfrom
KYHyeon:feature/jamie/fix-concurrency-help

Conversation

@KYHyeon

@KYHyeon KYHyeon commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Correct the --concurrency-limit help text to document the actual default of 1.
  • Keep the README command reference consistent with the CLI output.

Background

concurrencyLimit is optional, and the scanner falls back to 1 when no value is provided. The existing help text incorrectly states that the default is the number of cores on the running machine.

Testing

  • swift test
  • Verified that .build/debug/mockolo --help reports (default = 1).

@CLAassistant

CLAassistant commented Aug 12, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@KYHyeon
KYHyeon force-pushed the feature/jamie/fix-concurrency-help branch from 9f290ca to 86b738b Compare August 12, 2026 10:36
@KYHyeon
KYHyeon marked this pull request as ready for review August 12, 2026 10:37

@sidepelican sidepelican left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Indeed, based on the implementation, it appears to default to 1.
This doesn't seem intentional, but since it has functioned this way for many years, we can consider the current implementation as the correct one.

@sidepelican
sidepelican merged commit 6b9381a into uber:master Sep 8, 2026
6 of 8 checks passed
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.

3 participants