Sha256: 33256f002f39d5255e2117ed680668e3488ea5bd57362deac8127b5af9fc1a03

Contents?: true

Size: 192 Bytes

Versions: 1

Compression:

Stored size: 192 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qu-0.1.0 lib/qu/tasks.rb