[Git][noosfero/noosfero][master] dalli: connect to 127.0.0.1:11211 by default

Antonio Terceiro gitlab at mg.gitlab.com
Thu Nov 5 16:35:49 BRST 2015


Antonio Terceiro pushed to branch master at Noosfero / noosfero


Commits:
56f3ea05 by Antonio Terceiro at 2015-11-05T16:35:03Z
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

- - - - -


1 changed file:

- config/environments/production.rb


Changes:

=====================================
config/environments/production.rb
=====================================
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -44,7 +44,7 @@ Noosfero::Application.configure do
   # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
 
   # Use a different cache store in production
-  config.cache_store = :dalli_store, "localhost"
+  config.cache_store = :dalli_store, "127.0.0.1:11211"
 
   # Enable serving of images, stylesheets, and javascripts from an asset server
   # config.action_controller.asset_host                  = "http://assets.example.com"



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/56f3ea05a3e4a8a4094fe455f210024e55c2bd81
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20151105/8a3ab6d2/attachment.html>


More information about the Noosfero-dev mailing list