add optional sidekiq for background jobs

This commit is contained in:
Alex Turchyn
2023-07-14 23:06:23 +03:00
parent 6f3fe1dd7b
commit 7ed1b71a6b
7 changed files with 36 additions and 0 deletions
+2
View File
@@ -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