Skip to content

Releases: RichardKnop/machinery

Add a non blocking LaunchAsync method to worker

15 Nov 08:44
cb36f84
Compare
Choose a tag to compare

Added a non blocking LaunchAsync method to worker struct as alternative to blocking Launch.

Improved Ctrl+C Handling

14 Nov 10:47
Compare
Choose a tag to compare

First Ctrl+C starts graceful shutdown (i.e. wait for running tasks to finish before shutting down). Second Ctrl+C will just abruptly end the program without waiting for tasks.

Wait For Tasks To Finish When Quitting

11 Nov 13:13
e51787e
Compare
Choose a tag to compare

When there are running tasks and you call worker.Quit() method, the process will wait for all running tasks to be processed first before shutting down.

Updated Dependencies

01 Nov 08:37
Compare
Choose a tag to compare

Updated dep cli tool and all vendored dependencies.

Travis CI gometalinter bugfix

01 Nov 08:02
Compare
Choose a tag to compare

Fixed gometalinter issue on Travis CI so builds now pass successfully. Usage of native go tool vet is enforced now via gometalinter.json config file.

Return Arguments Are Now Appended To Success Callbacks

01 Nov 07:27
Compare
Choose a tag to compare

When a task has OnSuccess callback, the returned arguments are appended to the callback task instead of prepended.

MongoDB Backend Improvement

05 Oct 13:42
Compare
Choose a tag to compare

Small MongoDB Backend Improvement to allow storing task results as bson.Json.

SendGroup Error Channel Size Fix

07 Sep 16:21
Compare
Choose a tag to compare

Error channel in SendGroup could potentially have up to number of tasks * 2 size. Channel size increased to accomodate for this eventuality.

SendGroup Concurrency Fix

05 Sep 16:21
Compare
Choose a tag to compare

Fixed a bug in SendGroup pooling logic which meant all tasks would be sent synchronously irrespective of the concurrency parameter.

Release v1.0.1

28 Aug 21:58
Compare
Choose a tag to compare

When using AMQP as backend, x-expires parameter is set when declaring a queue in order to set/update task state. This ensures task state queues will eventually get cleanup up.