github panjf2000/ants v2.10.0
Ants v2.10.0

13 days ago

🛩 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 #325
  • ci: replace macos-latest with macos-12 for go1.13 by @panjf2000 in #326
  • opt: calculate the interval for ReleaseTimeout() based on a default count by @panjf2000 in #327
  • opt: make ReleaseTimeout() more efficient in waiting workers to exit by @panjf2000 in #329
  • bug: alleviate the data race between Release() and Reboot() by @panjf2000 in #330
  • opt: speed up ReleaseTimeout() for multi-pool by @panjf2000 in #332
  • bug: alleviate the data race between Release() and Reboot() by @panjf2000 in #333
  • minor: v2.10.0 by @panjf2000 in #331
  • bug: fix the last error being missed in ReleaseTimeout() for multi-pool by @panjf2000 in #334
  • minor: v2.10.0 (update) by @panjf2000 in #335

Full Changelog: v2.9.1...v2.10.0

Thanks to all these contributors: @POABOB, @akshaynanavare and @panjf2000 for making this release possible.

Don't miss a new ants release

NewReleases is sending notifications on new releases.