File tree Expand file tree Collapse file tree 4 files changed +2
-4
lines changed
Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ module RailsBase
1010 class Application < Rails ::Application
1111 config . middleware . use Rack ::Attack
1212
13- config . cache_store = :redis_store , ENV [ 'REDIS_URL' ]
14-
1513 config . active_job . queue_adapter = :sidekiq
1614 config . active_job . queue_name_prefix = "rails5_#{ Rails . env } "
1715
Original file line number Diff line number Diff line change 5151
5252 # Use a different cache store in production.
5353 # config.cache_store = :mem_cache_store
54+ config . cache_store = :redis_store , ENV . fetch ( 'REDIS_URL' )
5455
5556 # Use a real queuing backend for Active Job (and separate queues per environment)
5657 # config.active_job.queue_adapter = :resque
Original file line number Diff line number Diff line change 5151
5252 # Use a different cache store in production.
5353 # config.cache_store = :mem_cache_store
54+ config . cache_store = :redis_store , ENV . fetch ( 'REDIS_URL' )
5455
5556 # Use a real queuing backend for Active Job (and separate queues per environment)
5657 # config.active_job.queue_adapter = :resque
Original file line number Diff line number Diff line change 11Rails . application . configure do
2- config . cache_store = :null_store
3-
42 # Settings specified here will take precedence over those in config/application.rb.
53
64 # The test environment is used exclusively to run your application's
You can’t perform that action at this time.
0 commit comments