use sidekiq
This commit is contained in:
@@ -47,7 +47,7 @@ Rails.application.configure do
|
||||
config.cache_store = :null_store
|
||||
end
|
||||
|
||||
config.active_job.queue_adapter = :sidekiq if defined?(Sidekiq)
|
||||
config.active_job.queue_adapter = :sidekiq
|
||||
|
||||
# Store uploaded files on the local file system (see config/storage.yml for options).
|
||||
config.active_storage.service = :disk
|
||||
|
||||
@@ -27,7 +27,7 @@ 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)
|
||||
config.active_job.queue_adapter = :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).
|
||||
|
||||
@@ -44,7 +44,7 @@ Rails.application.configure do
|
||||
# The :test delivery method accumulates sent emails in the
|
||||
# ActionMailer::Base.deliveries array.
|
||||
config.action_mailer.delivery_method = :test
|
||||
config.active_job.queue_adapter = :test
|
||||
config.active_job.queue_adapter = :sidekiq
|
||||
|
||||
# Print deprecation notices to the stderr.
|
||||
config.active_support.deprecation = :stderr
|
||||
|
||||
Reference in New Issue
Block a user