[Bug]: 设置了ants.WithExpiryDuration(5*time.Second) 没起作用,导致pool满后一直未释放worker,阻塞新task #313
Open
3 tasks done
Labels
bug
Something isn't working
needs investigation
This issue or proposal needs some investigations
needs more info
waiting for response
waiting for the response from commenter
Actions I've taken before I'm here
What happened?
OS: mac
GO: go1.17.12
ants: v2.9.0
使用方式 :
pool:= ants.NewPool(50, ants.WithExpiryDuration(5*time.Second))
当我通过pool..Submit(funcxx) 用完 pool里worker时, 会一直阻塞无法再继续submit,等了1个小时也没释放执行完的worker
Major version of ants
v2
Specific version of ants
v2.9.0
Operating system
macOS
OS version
14.2.1 (23C71)
Go version
go1.17.12
Relevant log output
Code snippets (optional)
No response
How to Reproduce
Does this issue reproduce with the latest release?
I haven't verified it with the latest release
The text was updated successfully, but these errors were encountered: