Please sign in to comment.
Reverse priority so the jobs table can be indexed. Lower numbers have…
… 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
- Loading branch information...
Showing with 5 additions and 4 deletions.