Sha256: 64a3e7a918d5602b69e8d4104dd6bb22c6977d8167aa5089051d84e9708ae8be
Contents?: true
Size: 450 Bytes
Versions: 13
Compression:
Stored size: 450 Bytes
Contents
# Re-definitions are appended to existing tasks # Embed tasks from Delayed_job namespace :jobs do desc "Clear the delayed_job queue." task :clear => :environment do Delayed::Job.delete_all end desc "Start a delayed_job worker." task :work => :environment do puts "Delayed::Job.new = #{Delayed::Job.new.inspect}" ::Delayed::Worker.new(:min_priority => ENV['MIN_PRIORITY'], :max_priority => ENV['MAX_PRIORITY']).start end end
Version data entries
13 entries across 13 versions & 1 rubygems