add optional sidekiq for background jobs

This commit is contained in:
Alex Turchyn committed 2023-07-15 13:38:13 +03:00
1 parent 6f3fe1dd7b
commit 7ed1b71a6b
7 files changed
+36

No files matched your search

+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