Merge pull request #2890 from tchak/allow-to-override-job-adapter
Allow to override active_job adapter
This commit is contained in:
commit
e01162f664
1 changed files with 5 additions and 0 deletions
|
@ -61,4 +61,9 @@ Rails.application.configure do
|
|||
|
||||
# Raises error for missing translations
|
||||
# config.action_view.raise_on_missing_translations = true
|
||||
|
||||
# This is useful to run rails in development with :async queue adapter
|
||||
if ENV['RAILS_QUEUE_ADAPTER']
|
||||
config.active_job.queue_adapter = ENV['RAILS_QUEUE_ADAPTER'].to_sym
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue