ants icon indicating copy to clipboard operation
ants copied to clipboard

🐜🐜🐜 ants is a high-performance and low-cost goroutine pool in Go./ ants 是一个高性能且低损耗的 goroutine 池。

Results 39 ants issues
Sort by recently updated
recently updated
newest added

**System info (please complete the following information):** - OS: Windows - Go Version: 1.17 - ants version: v2.1.1 问题描述: 当前项目中采用的是ants.NewPoolWithFunc()方式进行协程处理并发任务,同时设置了最大阻塞ants.WithMaxBlockingTasks(100). 项目开始运行没有问题,但是当任务执行达到最大阻塞值的时候,项目就停止运行了,直接报错: `too many goroutines blocked on submit or Nonblocking is...

bug
waiting for response
needs investigation

In the same hardware environment, I found similar results to the author's conclusion for go1.13 in my tests, but for 1.14 onwards, ants no longer has a time consumption advantage,...

help wanted
question

**Is your feature request related to a problem? Please describe.** 当前 指定 pool size 且没有指定 Nonblocking 时, 当 pool 满了时 submit 是会阻寨的, 但有时我不能让任务一直等着, 想要加一个取消机制。 我想只要对 retrieveWorker 改造一下, 就可以实现了 ````go func...

proposal
waiting for response

这PoolWithFunc 和 goWorkerWithFunc 循环引用,没看明白为什么这样设计,求大佬解惑 ![image](https://user-images.githubusercontent.com/23031644/180233032-b6d491d5-1214-476c-8ffc-af841ae93c5b.png)

help wanted
question

**What is your question about ants?** Please describe your question meticulously.

help wanted
question

最新版的 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...

help wanted
question

--- name: Pull request about: Support passing in arguments to sumit task title: '' labels: '' assignees: '' --- ## 1. Are you opening this pull request for bug-fixs, optimizations...

waiting for response

For example, i have struct Node {IP, Operation} IP + Operation should be executed respectively at same time. Some that will be cool if the code can work as follow:...

wontfix
proposal

--- name: Pull request about: Possible panic caused by type conversion title: '' labels: '' assignees: '' --- ## 1. Are you opening this pull request for bug-fixs, optimizations or...

is the latest 1.18 go routine faster than this? just curious coz it seems faster etc now

help wanted
question