Commit 56f3ea05a3e4a8a4094fe455f210024e55c2bd81
1 parent
114b3b48
Exists in
master
and in
29 other branches
dalli: connect to 127.0.0.1:11211 by default
In some situations 'localhost' will just not work. See https://github.com/mperham/dalli/issues/150
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/environments/production.rb
... | ... | @@ -44,7 +44,7 @@ Noosfero::Application.configure do |
44 | 44 | # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) |
45 | 45 | |
46 | 46 | # Use a different cache store in production |
47 | - config.cache_store = :dalli_store, "localhost" | |
47 | + config.cache_store = :dalli_store, "127.0.0.1:11211" | |
48 | 48 | |
49 | 49 | # Enable serving of images, stylesheets, and javascripts from an asset server |
50 | 50 | # config.action_controller.asset_host = "http://assets.example.com" | ... | ... |