Skip to content

Commit

Permalink
Update railtie.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
rkiller authored Mar 22, 2020
1 parent 5da12e2 commit 200dd74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/active_elastic_job/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Railtie < Rails::Railtie
config.active_elastic_job.process_jobs = ENV['PROCESS_ACTIVE_ELASTIC_JOBS'] == 'true'
puts "Processing Jobs: " + config.active_elastic_job.process_jobs.to_s
config.active_elastic_job.aws_credentials = lambda { Aws::InstanceProfileCredentials.new }
config.active_elastic_job.aws_region = ENV['AWS_REGION']
puts "Setting Credentials"
config.active_elastic_job.periodic_tasks_route = '/periodic_tasks'.freeze
puts "Route: " + config.active_elastic_job.periodic_tasks_route.to_s
Expand Down

0 comments on commit 200dd74

Please sign in to comment.