lib/neeto_commons_backend/initializers/sidekiq.rb in neeto-commons-backend-1.0.106 vs lib/neeto_commons_backend/initializers/sidekiq.rb in neeto-commons-backend-1.0.107

- old
+ new

@@ -27,10 +27,10 @@ unless Rails.env.test? || Rails.env.production? || Rails.env.staging? schedule_file = "config/scheduled_jobs.yml" if File.exist?(schedule_file) Sidekiq::Cron::Job.load_from_hash! YAML.load_file(schedule_file, aliases: true)[Rails.env] || - YAML.load_file(schedule_file) + YAML.load_file(schedule_file, aliases: true) end end end Sidekiq.configure_client do |config|