Resque is a Redis-backed Ruby library for creating background jobs, placing them on multiple queues, and processing them later.
Full Changelog: https://github.com/resque/resque/compare/v2.5.0...v2.6.0
Bunch of bug and deprecation warning fixes in this release. Big thanks to everyone who's contributed to this release!
File.exists?
with File.exist?
by @kyoshidajp in https://github.com/resque/resque/pull/1846
Resque.redis_id
for stats page by @mishina2228 in https://github.com/resque/resque/pull/1834
Resque::Server.helpers
block into a module by @mishina2228 in https://github.com/resque/resque/pull/1851
Full Changelog: https://github.com/resque/resque/compare/v2.4.0...v2.5.0
Full Changelog: https://github.com/resque/resque/compare/v2.3.0...v2.4.0
Full Changelog: https://github.com/resque/resque/compare/v2.2.1...v2.3.0
Add requeue_queue method to Resque::Failure::Multiple #1659
Confirmation prompt in admin front-end before submitting the retry of all failed jobs. #1753
Railtie for default rake task setup when in Rails. #1715
Added two new hooks.
queue_empty
when the job queue empties and the worker becomes idleworker_exit
when the worker exitsSee docs/HOOKS.md for further details. (@jeremywadsack)
Resque::Failure::Multiple.remove
did not pass on the queue parametereager_load!
if Rails.application.config.eager_load
is trueI've just released Resque 1.25.0.pre! Resque is the most stable, widely-used job queue for Ruby. It uses Redis as its backing store.
This release is thanks to adelcambre, who took the time to get it over the finish line! <3
A total of 19 contributors helped out with this release, with 77 commits. Thank you to everyone!
You can see the full CHANGELOG here.
I am releasing this version as 'pre' due to one big change: a refactor to the forking code. This was introduced to fix a problem: the exit syscall raises a SystemExit Exception in ruby, its exit is treated as a failure, thus deregistering the worker. After the refactor + fix, things should be peachy. But please give the prerelease a try.
In addition, it has been discovered that we have accidentally introduced a SemVer violation back in v1.23.1: https://github.com/resque/resque/issues/1074
I take SemVer seriously, and apologize for this change. SemVer states that at this time, I should basically do whatever. Since this fixes a bug, I'm inclined to leave it in. If this introduces a significant problem for you, please let me know. Since others might now be relying on this new behavior, I'm not 100% sure what the best option is. Your feedback helps.
To get 1.25.0.pre installed, just use gem install
:
$ gem install resque --pre
You can find the source on GitHub.