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

Version Path
rhoconnect-7.6.0 generators/templates/application/Rakefile
rhoconnect-7.6.0 bench/benchapp/Rakefile
rhoconnect-7.5.1 generators/templates/application/Rakefile
rhoconnect-7.5.1 bench/benchapp/Rakefile
rhoconnect-7.4.1 bench/benchapp/Rakefile
rhoconnect-7.4.1 generators/templates/application/Rakefile
rhoconnect-7.1.17 generators/templates/application/Rakefile
rhoconnect-7.1.17 bench/benchapp/Rakefile
rhoconnect-6.2.0 generators/templates/application/Rakefile
rhoconnect-6.2.0 bench/benchapp/Rakefile
rhoconnect-6.0.11 generators/templates/application/Rakefile
rhoconnect-6.0.11 bench/benchapp/Rakefile
rhoconnect-5.5.18 generators/templates/application/Rakefile
rhoconnect-5.5.18 bench/benchapp/Rakefile
rhoconnect-5.5.17 generators/templates/application/Rakefile
rhoconnect-5.5.17 bench/benchapp/Rakefile
rhoconnect-5.5.15 generators/templates/application/Rakefile
rhoconnect-5.5.15 bench/benchapp/Rakefile
rhoconnect-5.5.0.22 generators/templates/application/Rakefile
rhoconnect-5.5.0.22 bench/benchapp/Rakefile