github panjf2000/ants v2.0.0
Ants v2.0.0

latest releases: v2.9.1, v2.9.0, v2.8.2...
4 years ago

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

  • Support go mod 26cbd88
  • Rename the function with the more applicable name 71faec8
  • Fix some minor mistakes in test cases 9476326
  • Create CODE_OF_CONDUCT.md (#48)
  • Create pull_request_template.md 40defbb

Don't miss a new ants release

NewReleases is sending notifications on new releases.