v2.10.0
版本发布时间: 2024-06-18 17:36:44
panjf2000/ants最新发布版本:v2.10.0(2024-06-18 17:36:44)
🛩 Enhancements
- opt: speed up ReleaseTimeout() for multi-pool (#332)
- opt: make ReleaseTimeout() more efficient in waiting workers to exit (#329)
- opt: calculate the interval for ReleaseTimeout() based on a default count (#327)
- opt: increase the interval of waiting in ReleaseTimeout() (#325)
- bug: return error before creating multi pools if lbs is invalid to avoid leaks (#317)
🐛 Bugfixes
- bug: fix the last error being missed in ReleaseTimeout() for multi-pool (#334)
- bug: alleviate the data race between Release() and Reboot() (#333)
- bug: alleviate the data race between Release() and Reboot() (#330)
- bug: return error before creating multi pools if lbs is invalid to avoid leaks (#317)
📚 Documentation
- doc: add MultiPool & MultiPoolFunc example code and update READMEs. (#311)
🗃 Misc
- chore: add new benchmark tests (#309)
What's Changed
- opt: increase the interval of waiting in ReleaseTimeout() by @panjf2000 in https://github.com/panjf2000/ants/pull/325
- ci: replace macos-latest with macos-12 for go1.13 by @panjf2000 in https://github.com/panjf2000/ants/pull/326
- opt: calculate the interval for ReleaseTimeout() based on a default count by @panjf2000 in https://github.com/panjf2000/ants/pull/327
- opt: make ReleaseTimeout() more efficient in waiting workers to exit by @panjf2000 in https://github.com/panjf2000/ants/pull/329
- bug: alleviate the data race between Release() and Reboot() by @panjf2000 in https://github.com/panjf2000/ants/pull/330
- opt: speed up ReleaseTimeout() for multi-pool by @panjf2000 in https://github.com/panjf2000/ants/pull/332
- bug: alleviate the data race between Release() and Reboot() by @panjf2000 in https://github.com/panjf2000/ants/pull/333
- minor: v2.10.0 by @panjf2000 in https://github.com/panjf2000/ants/pull/331
- bug: fix the last error being missed in ReleaseTimeout() for multi-pool by @panjf2000 in https://github.com/panjf2000/ants/pull/334
- minor: v2.10.0 (update) by @panjf2000 in https://github.com/panjf2000/ants/pull/335
Full Changelog: https://github.com/panjf2000/ants/compare/v2.9.1...v2.10.0
Thanks to all these contributors: @POABOB, @akshaynanavare and @panjf2000 for making this release possible.