Skip to content

Commit

Permalink
Enable solid_queue in production
Browse files Browse the repository at this point in the history
  • Loading branch information
elektronaut committed Oct 24, 2024
1 parent 6ffceb4 commit dc0b92d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@

config.cache_store = :mem_cache_store

# Use a real queuing backend for Active Job (and separate queues per
# environment).
# config.active_job.queue_adapter = :resque
# config.active_job.queue_name_prefix = "sugar_production"
# Use a real queuing backend for Active Job (and separate queues per environment).
config.active_job.queue_adapter = :solid_queue

config.action_mailer.perform_caching = false

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

ActiveJob::Base.queue_adapter = :solid_queue

Rails.application.configure do
MissionControl::Jobs.base_controller_class = "AdminController"
end

0 comments on commit dc0b92d

Please sign in to comment.