All Versions
8
Latest Version
Avg Release Cycle
55 days
Latest Release
1654 days ago
Changelog History
Changelog History
-
v3.1.1
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.0.0
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
June 16, 2016What Changed?
- โก๏ธ updated sync.RWMutex to be non pointer; no functional changes.
-
v2.0.1
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.1
June 10, 2016๐ What was Fixed
- ๐ท corrected race condition when using hook param; some workers could have had nil.
-
v1.2
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