Skip to content

Releases: vardius/worker-pool

v2.1.0

26 Mar 12:51
Compare
Choose a tag to compare
  • Same worker can be added multiple times
  • Improved performance
  • Delegate job returns now error if there is no workers

v2.0.0

26 Mar 09:03
Compare
Choose a tag to compare

Interface update, Start method was removed in favour of AddWorker and RemoveWorker allowing to handle the worker update during pool lifecycle.

v1.1.6

19 Jul 12:12
Compare
Choose a tag to compare

Optimise function reflect value

v1.0.5

15 May 06:05
Compare
Choose a tag to compare

Remove internal context cancel usage, range over channel instead of doing select

v1.0.4

10 May 07:45
Compare
Choose a tag to compare

Return from goroutine if channel has been closed

v1.0.3

01 Feb 23:16
Compare
Choose a tag to compare
Fix workers when channel gets closed

v1.0.2

01 Feb 21:25
Compare
Choose a tag to compare

Now calling pool.Delegate() after pool.Stop() has been called will panic due to closed channel.
Calling pool.Start again will return context error.

v1.0.1

12 Aug 22:09
3c1740f
Compare
Choose a tag to compare

Delegate function is now blocking due to the issue where the goroutine won't run at all since delegate function has not other command to run after the goroutine has started.

Now you have to run Delegate function in a goroutine by yourself to avoid blocking.

v1.0.0

05 Oct 06:34
Compare
Choose a tag to compare
Fixed test