v2.0.0
版本发布时间: 2019-09-26 13:59:02
panjf2000/ants最新发布版本:v2.10.0(2024-06-18 17:36:44)
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 201ac20358578a34c3131049e3825c14bfb061a2
Bugfixes
- Fix a bug that blocks getting worker from pool 51c0008356f635f6e9658d5d0bc76b6de7b23b96
- Fix a bug where invokers get stuck in waiting idle workers af70ed06608fd1885efa56ba406b06476bf7060f 08d01b6b480f74dfa5586a8901878cd466b66de8
- 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 61660e2109c7181a8ab5110f3520ac78f0e9ff95
- Improve the the logic of tuning the pool size and support go modules cbf8ddf048f74fcf103f315d591dc45550efa8d4
Docs
- Update README afb53226745477ccac7145addbc177b6cd727f50
- Improve grammar in README and add go1.13 to CI 280ac345a860e794df1268e15112db9a863900ca
- Update README 09973e8b1b6ad0adc715cd302da41c39f0265752
Misc
- Support go mod 26cbd886a9d7e114cda5e5c18728ed531ba42999
- Rename the function with the more applicable name 71faec8c1a2b5b4114dbca77d1ed43c8d8f55960
- Fix some minor mistakes in test cases 94763266ad20fb1eadb57e796bfa7d27afe7de48
- Create CODE_OF_CONDUCT.md (#48)
- Create pull_request_template.md 40defbb369c28b077d32890edbe64ab9200b4601