Fast and distributed workflow runner using ActiveJob and Redis
Full Changelog: https://github.com/chaps-io/gush/compare/v2.1.0...v.3.0.0
:queue
option in run
method (Thanks to @devilankur18! See pull request)This version might be incompatible for developers who relied on jobs
array inside Workflow JSON (stored in Redis), see below for details. For others it's fully transparent and brings performance improvements!
gush viz
command. Sometimes it rendered the last job detached from others, because it was using a class name instead of job name as ID.Gushfile.rb
is now renamed to Gushfile
perform
method instead of work
like in < 1.0.0 versions.payloads
method available inside jobs is now an array of hashes, instead of a hash, this allows for a more flexible approach to reusing a single job in many situations. Previously payloads were grouped by predecessor's class name, so you were forced to hardcode that class name in its descendants' code.gush workers
command is now removed. This is now up to the developer to start background processes depending on chosen ActiveJob adapter.environment
was removed since it was no longer needed (it was Sidekiq specific)