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可能会把未执行完的task都给忽略。 #4

Open
googs1025 opened this issue Sep 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@googs1025
Copy link
Member

当异步goroutine监测到全局队列任务小于一定数量时,会自动缩容worker。
目前使用直接调用stopC的方式实现关闭,会存在直接忽略需要关闭worker中的任务。

@googs1025 googs1025 added the bug Something isn't working label Sep 3, 2023
@googs1025 googs1025 self-assigned this Sep 3, 2023
@googs1025 googs1025 removed their assignment Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant