Release v2.6.0
What's Changed
- chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #131
- feat(disable-queue): Allow disabling task queue by setting it to 0 by @alitto in #132 (Thanks @korotin 馃檶)
- feat(optional-panic-recovery): Add option to disable panic recovery by @alitto in #133 (Thanks @snichols 馃檶)
Breaking Changes
- Setting the queue size option to zero (0) via
WithQueueSize(0)now disables the task queue altogether (all task submissions block until a worker becomes available unless the pool is set to non-blocking mode). Before this change, setting queue size to0would cause the queue to be unbounded. Pools are still unbounded by default, but now there's a constant that can be used to set queue size to unbounded explicitly. E.g.pond.NewPool(10, pond.WithQueueSize(pond.Unbounded)).
Full Changelog: v2.5.0...v2.6.0