From 7a69835f5cbf2b754507dfa13b4710bb79ceff63 Mon Sep 17 00:00:00 2001 From: Amit Aryeh Levy Date: Wed, 27 Jun 2012 09:07:57 -0700 Subject: [PATCH] Fixed Client#initialize comment. Comment reflects the change to how the servers option is chosen (passed in argument, environment variables, then default to localhost:11211) --- lib/dalli/client.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/dalli/client.rb b/lib/dalli/client.rb index bc12be39..4593b45f 100644 --- a/lib/dalli/client.rb +++ b/lib/dalli/client.rb @@ -12,9 +12,8 @@ class Client # :threadsafe => true, :failover => true, :expires_in => 300) # # servers is an Array of "host:port:weight" where weight allows you to distribute cache unevenly. - # Both weight and port are optional. If you pass in nil, Dalli will default to 'localhost:11211'. - # Note that the MEMCACHE_SERVERS environment variable will override the servers parameter for use - # in managed environments like Heroku. + # Both weight and port are optional. If you pass in nil, Dalli will use the MEMCACHE_SERVERS + # environment variable or default to 'localhost:11211' if it is not present. # # Options: # - :namespace - prepend each key with this value to provide simple namespacing.