Releases: panjf2000/ants
Releases · panjf2000/ants
Ants v2.0.0, Dragon Ball
Features
- Optimize memory allocation and add the log of panic stack (#40)
- Support nonblocking submit and max blocking limit setting (#41)
- Add functional options pattern for ants 201ac20
Bugfixes
- Fix a bug that blocks getting worker from pool 51c0008
- Fix a bug where invokers get stuck in waiting idle workers af70ed0 08d01b6
- Fix a bug that worker didn't minus the amount of running workers when it exits (#51)
Enhancements
- Improve the process of cleaning up idle workers (#39)
- Refactor the blocking logic in retrieveWorker function 61660e2
- Improve the the logic of tuning the pool size and support go modules cbf8ddf
Docs
Misc
Ants v1.2.0, Memories
Ants v1.1.0, Violet Evergarden
Features
- Optimize memory allocation and add the log of panic stack (#40)
Enhancements
- Optimize the logic when cleaning up expired workers (#39) 9eb91a4
- Refactor the blocking logic in retrieveWorker function 61660e2
Bugfixes
- Fix a bug that blocks getting worker from pool 51c0008
Docs
Misc
- Add go.mod 26cbd88
Ants v1.0.0, Your Name
Features
- Managing and recycling a massive number of goroutines automatically
- Purging overdue goroutines periodically
- Abundant APIs: submitting tasks, getting the number of running goroutines, tuning capacity of pool dynamically, releasing pool, rebooting pool
- Efficient in memory usage and it even achieves higher performance than unlimited goroutines in Golang