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
@@ -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