… higher priority. The default priority is 0, so increase it for jobs that are not important. Delayed::Job.enqueue MyHighPriorityJob.new, 0 Delayed::Job.enqueue MyLowPriorityJob.new, 20
…tempts = 1
…e correct pid.
… new code
Worker::SLEEP Job::MAX_ATTEMTPTS Job::MAX_RUN_TIME with a class variable so they can be overridden at run time. Issue: http://github.com/collectiveidea/delayed_job/issues/#issue/13