Skip to content

Don't tell user to use 0 cores on machines with only 1 core#822

Merged
zakird merged 3 commits intomainfrom
phillip/show-thread-warn-fix
Mar 15, 2024
Merged

Don't tell user to use 0 cores on machines with only 1 core#822
zakird merged 3 commits intomainfrom
phillip/show-thread-warn-fix

Conversation

@phillip-stephens
Copy link
Contributor

@phillip-stephens phillip-stephens commented Mar 14, 2024

Was testing something else on a 1 core VM and noticed that even if you put -T 1, you were warned you were using too many sending threads.

Tests

  • Tested on 1 core VM with -T 1 (no warning) and -T 2 (warning)
  • Tested on multi-core VM and behavior was as expected

@phillip-stephens phillip-stephens marked this pull request as ready for review March 15, 2024 18:53
@phillip-stephens phillip-stephens requested a review from zakird March 15, 2024 18:53
@zakird zakird merged commit e39d010 into main Mar 15, 2024
@zakird zakird deleted the phillip/show-thread-warn-fix branch March 15, 2024 18:56
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