add optional sidekiq for background jobs
This commit is contained in:
@@ -45,6 +45,8 @@ Rails.application.configure do
|
||||
config.cache_store = :null_store
|
||||
end
|
||||
|
||||
config.active_job.queue_adapter = :sidekiq if defined?(Sidekiq)
|
||||
|
||||
# Store uploaded files on the local file system (see config/storage.yml for options).
|
||||
config.active_storage.service = :disk
|
||||
config.active_storage.resolve_model_to_route = :rails_storage_proxy
|
||||
|
||||
@@ -25,6 +25,8 @@ Rails.application.configure do
|
||||
config.action_controller.perform_caching = true
|
||||
config.active_record.sqlite3_production_warning = false
|
||||
|
||||
config.active_job.queue_adapter = :sidekiq if defined?(Sidekiq)
|
||||
|
||||
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
|
||||
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
|
||||
# config.require_master_key = true
|
||||
|
||||
Reference in New Issue
Block a user