Sha256: 6647effd7d592331745902e360541463918683107fcd6e2f1691cb8eaae694c5
Contents?: true
Size: 356 Bytes
Versions: 38
Compression:
Stored size: 356 Bytes
Contents
require 'rubygems' require 'bundler/setup' 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
38 entries across 19 versions & 1 rubygems