Skip to content

Conversation

@daniel-hutao
Copy link
Contributor

  • Updated README.md and README_zh.md to reflect the new feature of configurable task queue size.
  • Added a new field 'taskQueueSize' in the 'goPool' struct to store the size of the task queue.
  • Modified the 'NewGoPool' function to initialize the task queue with the specified size.
  • Added a new function 'GetTaskQueueSize' to return the size of the task queue.
  • Updated the test file 'gopool_test.go' to include tests for the new feature.
  • Added a new option 'WithTaskQueueSize' in 'option.go' to allow users to set the size of the task queue when creating the pool.

- Updated README.md and README_zh.md to reflect the new feature of configurable task queue size.
- Added a new field 'taskQueueSize' in the 'goPool' struct to store the size of the task queue.
- Modified the 'NewGoPool' function to initialize the task queue with the specified size.
- Added a new function 'GetTaskQueueSize' to return the size of the task queue.
- Updated the test file 'gopool_test.go' to include tests for the new feature.
- Added a new option 'WithTaskQueueSize' in 'option.go' to allow users to set the size of the task queue when creating the pool.

Signed-off-by: Daniel Hu <tao.hu@merico.dev>
@daniel-hutao daniel-hutao merged commit ee3a100 into main Aug 17, 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