-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
purgePeriodically 导致阻塞 #225
Labels
Comments
代码贴一下。 |
抱歉 代码不方便贴出来 |
我也遇到了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
最新版的 v2.5.0 release后 仍然 purgePeriodically 循环 导致程序阻塞 ,是我用的不对吗
Type: delay
Time: May 21, 2022 at 12:01am (CST)
Duration: 20.02s, Total samples = 40s (199.80%)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof) traces
Type: delay
Time: May 21, 2022 at 12:01am (CST)
Duration: 20.02s, Total samples = 40s (199.80%)
-----------+-------------------------------------------------------
20s runtime.selectgo
github.com/panjf2000/ants/v2.(*Pool).purgePeriodically
The text was updated successfully, but these errors were encountered: