Only use DelayedJob in production
In development just let the default async adaptor be used so that people don't need to run a daemon.
This commit is contained in:
parent
2e14b1106e
commit
422afdbae3
2 changed files with 3 additions and 3 deletions
|
@ -99,4 +99,7 @@ Rails.application.configure do
|
|||
|
||||
# Enable autoloading of dependencies.
|
||||
config.enable_dependency_loading = true
|
||||
|
||||
# Use delayed job to queue jobs in production.
|
||||
config.active_job.queue_adapter = :delayed_job
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue