Skip to content

Release v2.2.0

Latest
Compare
Choose a tag to compare
@alitto alitto released this 17 Feb 00:30
· 1 commit to main since this release
e2fee68

What's Changed

  • feat(pool): add option to bound task queue (v2) by @alitto in #99
    • Add support to create bounded pools by specifying a queue size (WithQueueSize option).
    • Add support to choose how to deal with tasks submitted when the queue is full (WithNonBlocking option).
    • Ensure RunningWorkers() method in subpools reflect the actual number of workers running tasks belonging to the subpool.
    • Allow overriding pool options when creating a subpool via NewSupool.
    • Simplify pool submission logic and remove dispatcher goroutine.
    • Simplify subpool implementation.

Full Changelog: v2.1.6...v2.2.0