Sha256: 4b48606cd77eb3b2226f5de83983777d2711f2dc5f4821b266e50365a169be96
Contents?: true
Size: 310 Bytes
Versions: 9
Compression:
Stored size: 310 Bytes
Contents
# require 'backburner/tasks' # will give you the backburner tasks namespace :backburner do # QUEUE=foo,bar,baz rake backburner:work desc "Start an backburner worker" task :work => :environment do queues = (ENV["QUEUE"] ? ENV["QUEUE"].split(',') : nil) rescue nil Backburner.work queues end end
Version data entries
9 entries across 9 versions & 1 rubygems