X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/420a7289a0b08eee091f6650c2e83166df3fbe69..fd47078b14c89cd9c1e373e16074abc8d83d0e62:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index 430032143..051c5dd44 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -57,7 +57,7 @@ Rails.application.configure do config.log_tags = [:request_id] # Use a different log path in production. - config.paths["log"] = LOG_PATH if defined?(LOG_PATH) + config.paths["log"] = Settings.log_path if Settings.key?(:log_path) # Use a different cache store in production. # config.cache_store = :mem_cache_store @@ -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