File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 3131 config . cache_store = :memory_store
3232
3333 # see also config/initializers/active_job.rb
34- config . active_job . queue_adapter = :inline
34+ # config.active_job.queue_adapter = :inline
3535
3636 if ENV [ 'MAILGUN_SMTP_PASSWORD' ]
3737 config . action_mailer . smtp_settings = {
Original file line number Diff line number Diff line change 7676 )
7777
7878 # see also config/initializers/active_job.rb
79- config . active_job . queue_adapter = :inline
79+ # config.active_job.queue_adapter = :inline
8080
8181 # Disable caching for Action Mailer templates even if Action Controller
8282 # caching is enabled.
Original file line number Diff line number Diff line change 22 ENV [ 'JOB_ADAPTER' ] ||= 'shoryuken' if ENV [ 'ENABLE_SHORYUKEN' ]
33 case ENV [ 'JOB_ADAPTER' ]
44 when 'shoryuken'
5- config . active_job . queue_adapter = :shoryuken
5+ ActiveJob :: Base . queue_adapter = config . active_job . queue_adapter = :shoryuken
66 when 'lambdakiq'
7- config . active_job . queue_adapter = :lambdakiq
7+ ActiveJob ::Base . queue_adapter = config . active_job . queue_adapter = :lambdakiq
8+ else
9+ ActiveJob ::Base . queue_adapter = config . active_job . queue_adapter = :inline
810 end
911end
Original file line number Diff line number Diff line change 11Sentry . init do |config |
22 config . dsn = ENV [ 'SENTRY_DSN' ]
3+ config . background_worker_threads = 0 if ENV [ 'AWS_LAMBDA_FUNCTION_NAME' ]
34end
You can’t perform that action at this time.
0 commit comments