diff --git a/config/application.rb b/config/application.rb index 7dd48c93b..fddb9dac1 100644 --- a/config/application.rb +++ b/config/application.rb @@ -3,7 +3,7 @@ require_relative "boot" require "rails" # Pick the frameworks you want: require "active_model/railtie" -require "active_job/railtie" +# require "active_job/railtie" require "active_record/railtie" # require "active_storage/engine" require "action_controller/railtie" @@ -72,8 +72,6 @@ module PracticalDeveloper require_dependency(file) end - config.active_job.queue_adapter = :sidekiq - config.middleware.use Rack::Deflater config.i18n.load_path += Dir[Rails.root.join("config/locales/**/*.yml")] diff --git a/config/environments/production.rb b/config/environments/production.rb index b693317d4..04a13610c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -76,10 +76,6 @@ Rails.application.configure do default_expiration = 24.hours.to_i config.cache_store = :redis_cache_store, { url: redis_url, expires_in: default_expiration } - # 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 = "practical_developer_production" - config.action_mailer.perform_caching = false # Ignore bad email addresses and do not raise email delivery errors. diff --git a/config/environments/test.rb b/config/environments/test.rb index 946dabf7b..d6e56ca54 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -58,8 +58,6 @@ Rails.application.configure do # Tell Active Support which deprecation messages to disallow. config.active_support.disallowed_deprecation_warnings = [] - config.active_job.queue_adapter = :test - # Debug is the default log_level, but can be changed per environment. config.log_level = :debug