Sha256: 8b906b1a6b63ea8a097929069481aedac005e328142ed0442eb53a2db6a09eaa
Contents?: true
Size: 355 Bytes
Versions: 50
Compression:
Stored size: 355 Bytes
Contents
namespace :qu do desc "Start a worker" task :work => :environment do queues = (ENV['QUEUES'] || ENV['QUEUE'] || 'default').to_s.split(',') Qu::Worker.new(*queues).start end end # Convenience tasks compatibility task 'jobs:work' => 'qu:work' task 'resque:work' => 'qu:work' # No-op task in case it doesn't already exist task :environment
Version data entries
50 entries across 50 versions & 2 rubygems