github panjf2000/ants v2.8.0
Ants v2.8.0

latest releases: v2.10.0, v2.9.1, v2.9.0...
15 months ago

🚀 Features

  • feat: add a new API ReleaseTimeout for the default pool (#285)

🛩 Enhancements

  • feat: add a new API ReleaseTimeout for the default pool (#285)
  • bug: avoid overflow when computing mid in the binarySearch of the workerStack (#278)
  • opt: refactor the worker queue for reusability and readability of code (#270)
  • opt: awake blocking goroutines more precisely in purgeStaleWorkers b32591f
  • opt: use runtime/debug.Stack() to print stack trace of panic 7a56a5c
  • opt: refactor the worker queue for reusability and readability of code 0313eff
  • opt: refine some code b6eaea1

🐛 Bugfixes

  • bug: avoid overflow when computing mid in the binarySearch of the workerStack (#278)
  • bug: fix the missing log.Lmsgprefix in go1.13 (#275)
  • fix: exit ticktock goroutine when pool is closed (#264)

📚 Documentation

🧳 Misc

  • chore: reorganize the structure of internal packages 711cad9
  • chore: reformat the default log string 3110e41

Full Changelog: v2.7.0...v2.8.0

Thanks to all these contributors: @ELchem, @GlebRadchenko, @gocurr, @panjf2000 and @piaodazhu for making this release possible.

Don't miss a new ants release

NewReleases is sending notifications on new releases.