cleanup 2

This commit is contained in:
Vokhmin Alexey V 2014-02-26 01:52:30 +04:00
parent 092bc10b2c
commit d02317b6f6
1 changed files with 0 additions and 2 deletions

View File

@ -8,8 +8,6 @@ require 'resque_scheduler/tasks'
# This fixes connection fail with Postgres server on new fork:
task "resque:setup" => :environment do
require 'resque'
require 'resque-scheduler'
Resque.after_fork do
Resque.redis.client.reconnect
Resque.schedule = YAML.load_file(File.join(Rails.root, 'config/resque_schedule.yml')) # load the schedule