HISTORY.md
redis (>= 4.0) and base64 (~> 0.1) gem dependencies (#1922)shutdown hooks - allows plugins and adapters to know when a worker is shutting down, enabling features like Active Job Continuations (#1916, #1924)retried_at timezone data (#1918)File.exists? with File.exist? (#1846)Resque.redis_id for stats page (#1834)Resque::Server.helpers block into a module to make it testable (#1851)thread_safe arg in Redis instantiaons (#1822)before_run undefined local variable or method runner (#1811)pause-all-workers to string value "true" (#1803)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 trueRedisMultiQueue backend.This changelog is a bit incomplete. We will be much stricter about the changelog for the next release.
staging_*. #1085 (@adelcambre)per_page on resque-server for plugins which add tabs (@jonhyman)require 'time' which was causing occasional errors which
would crash workers.at_exit hooks to be run on the child when the forked process exits, #862
(@jonhyman)mono_logger, which has no locks.before_fork hook if Resque can't fork (@kjwierenga, @tarcieri, #672, #697)after_fork hook if Resque can't fork (@kjwierenga, @tarcieri, #672, #697)#requeue tests (@hone, #500)pubilc_folder if it exists (@defunkt, #420, #421)before_fork (@quirkey)ENV["BACKGROUND"] (@chrisleishman)-r flag for resque-web for redis connection (@gjastrab)Resque.enqueue_to: allows you to specif the queue and still run hooks (@dan-g)exit change. Back to exit!.exit instead of exit!. This means you
can now use at_exit hooks inside workers.Worker#paused? methodResque.enqueuerake resque:workrake installResque.redis=after_enqueue plugin hook.shutdown? method which can be overridden.Redis::DistRedis as a valid clientWorker.working race condition fixedWorker#process has been deprecated.Resque.redis=before_first_fork, before_fork, and after_fork hooks.Job.destroy and Resque.dequeue return the # of destroyed jobs.resque-web by passing -N namespaceresque-1.5.0: MessageResque::Job.destroy(queue, klass, *args)Resque.dequeue(klass, *args)Kernel.fork is provided (for IronRuby).Worker#prune_dead_workersWorker#unregister_worker shouldn't call done_workingrand seeding in child processes.ps flag error on LinuxPREFIX observance to rake install tasks.rake resque:workers task for starting multiple workers.resque-web now sets RESQUECONFIGJob#recreateperform.Resque.remove_queue for deleting a queue