Sha256: 7c0b6cbaaeaeee4812ae3cff3e93d65c087ddc058bb68f271420103711e0c268
Contents?: true
Size: 444 Bytes
Versions: 15
Compression:
Stored size: 444 Bytes
Contents
# -*- encoding: utf-8 -*- require 'resque/tasks' namespace :resque do # resque worker config (not pool related). e.g. hoptoad, rails environment task :setup namespace :pool do # resque pool config. e.g. after_prefork connection handling task :setup end desc "Launch a pool of resque workers" task :pool => %w[resque:preload resque:setup resque:pool:setup] do require 'resque/pool' Resque::Pool.run end end
Version data entries
15 entries across 15 versions & 3 rubygems