Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix worker count logic in adjustWorkers function #9

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Conversation

daniel-hutao
Copy link
Contributor

  • Replaced instances of len(p.workerStack) with len(p.workers) in adjustWorkers function to correctly reflect the number of workers.
  • This change ensures that the worker count is adjusted based on the actual number of workers, not the number of idle workers.

- Replaced instances of len(p.workerStack) with len(p.workers) in adjustWorkers function to correctly reflect the number of workers.
- This change ensures that the worker count is adjusted based on the actual number of workers, not the number of idle workers.

Signed-off-by: Daniel Hu <[email protected]>
@daniel-hutao daniel-hutao merged commit 7129fa5 into main Aug 10, 2023
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.

1 participant