-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
关于协程池 #6
Comments
我会在下一个版本中进行改进。 |
已改进并发布 |
gqcn
pushed a commit
that referenced
this issue
Apr 17, 2019
gqcn
pushed a commit
that referenced
this issue
Apr 18, 2019
gqcn
pushed a commit
that referenced
this issue
Jun 19, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
限制最大的goroutine数量(Pool.size)变大后对已经加入队列的jobs(queue队列任务)不会重新分配PoolWorker。
相反,pool.size字段变小需要PoolWorker回收后才能真正的限制到协和数量。
不知道上面的情况是否是设计的初衷?
The text was updated successfully, but these errors were encountered: