From 6b470f180cbcf97aa25327d0da0cde1c2a145e48 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Tue, 16 Aug 2016 11:01:19 +0930 Subject: [PATCH] #951 Add sidekiq as our activejob backend --- config/environments/development.rb | 2 ++ config/environments/production.rb | 1 + config/environments/staging.rb | 1 + 3 files changed, 4 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 700771c10..d5496158e 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -74,4 +74,6 @@ Growstuff::Application.configure do end config.action_controller.action_on_unpermitted_parameters = :raise + + config.active_job.queue_adapter = :sidekiq end diff --git a/config/environments/production.rb b/config/environments/production.rb index 618eb8344..6656203ae 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -101,4 +101,5 @@ Growstuff::Application.configure do ::EXPRESS_GATEWAY = ActiveMerchant::Billing::PaypalExpressGateway.new(paypal_options) end + config.active_job.queue_adapter = :sidekiq end diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 8f2352ff4..93cb213e2 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -99,4 +99,5 @@ Growstuff::Application.configure do ::EXPRESS_GATEWAY = ActiveMerchant::Billing::PaypalExpressGateway.new(paypal_options) end + config.active_job.queue_adapter = :sidekiq end