All Versions
8
Latest Version
Avg Release Cycle
55 days
Latest Release
3127 days ago
Changelog History
Changelog History
-
v3.1.1 Changes
August 23, 2016๐ What was Fixed?
- โก๏ธ Go 1.7's race detector got even better and found a potential race that was not detected in Go 1.6.x and so this fixes that; no breaking changes, just update.
-
v3.1.0 Changes
June 20, 2016What's New?
- โ Added WaitAll() function to the batch, for when you need to wait for all work to be processed, but don't need to know the results.
๐ฒ eg. If the Work Unit's handle their own errors, logging etc... and it doesn't need to be reported back to the calling program.
-
v3.0.0 Changes
June 20, 2016๐ Fix gopkg.in pointing to v2.
๐ Hi all, please update v3 by running
go get -u gopkg.in/go-playground/pool.v3
, I must have selected the wrong branch while cutting the v3 release initially and it was pointing to v2, appologies for any inconvenience. -
v2.1.0 Changes
June 16, 2016What Changed?
- โก๏ธ updated sync.RWMutex to be non pointer; no functional changes.
-
v2.0.1 Changes
June 15, 2016What Changed
- ๐ fixed batch not unlocking mutex before return in rare case.
- ๐ fixed race condition found in the tests, not the pool logic, but the actual test logic.
- โ Added race detection testing in CI tests
-
v1.2.2 Changes
July 07, 2016๐ What was Fixed
- Cancel could have closed channel twice, thanks for the pull request @zwh8800
-
v1.2.1 Changes
June 10, 2016๐ What was Fixed
- ๐ท corrected race condition when using hook param; some workers could have had nil.
-
v1.2 Changes
December 11, 2015โ Added Consumer Hook
- ๐ท now can register ConsumerHook function that will be run while firing up the consumer routines and that return value will be set/passed to each job. This is particularity useful when creating a saving pool so a the consumer hook would create a database connection for each job to reuse instead of creating an additional one for each job.
Example
โ https://github.com/go-playground/pool/blob/v1/pool_test.go#L55