Skip to content

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Apr 11, 2025

Fixes #5365

Change

Fix the issue in two ways:

  1. Only use - 1 if supportedConcurrentThreads is greater than 1.
  2. Swap the order of setting min and max thread counts on the pool so that setting the minimum thread count to 1 overrides a "bad" allowed thread count of 0 (there are better ways to not do something than creating a thread pool that isn't allowed any threads).
Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner April 11, 2025 18:49
@JohnMcPMS JohnMcPMS merged commit dabd0e0 into microsoft:master Apr 11, 2025
9 checks passed
@JohnMcPMS JohnMcPMS deleted the min-download-threads branch April 11, 2025 21:03
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.

COM Install/Download thread logic issue
2 participants