-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dynamic worker adjustment logic and documentation
- Corrected the logic for adjusting the number of workers in the pool. Now, when the task queue is empty and the number of workers is more than the minimum, the number of workers is halved until it reaches the minimum. - Updated the README to reflect the changes in the worker adjustment logic. The documentation now correctly describes the conditions under which the number of workers is increased or decreased. - Removed the unused 'max' function from the code.
- Loading branch information
1 parent
0af6042
commit 4653dd3
Showing
2 changed files
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters