Sha256: 1d7adeb5e0181581b9913978130888f0a19ba2baa14b4882420b51b0c46a3b6a
Contents?: true
Size: 385 Bytes
Versions: 4
Compression:
Stored size: 385 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'rhoconnect/tasks' require 'rhoconnect' require 'resque/tasks' ROOT_PATH = File.expand_path(File.dirname(__FILE__)) task 'resque:setup' do # The number of redis connections you want a job to have Rhoconnect.connection_pool_size = 1 require 'rhoconnect/application/init' Resque.after_fork do Store.reconnect end end
Version data entries
4 entries across 4 versions & 1 rubygems