Skip to content

Commit

Permalink
Fixed Client#initialize comment.
Browse files Browse the repository at this point in the history
Comment reflects the change to how the servers option is chosen (passed
in argument, environment variables, then default to localhost:11211)
  • Loading branch information
alevy committed Jun 27, 2012
1 parent b7528dc commit 7a69835
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/dalli/client.rb
Expand Up @@ -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 <tt>MEMCACHE_SERVERS</tt> 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 <tt>MEMCACHE_SERVERS</tt>
# environment variable or default to 'localhost:11211' if it is not present.
#
# Options:
# - :namespace - prepend each key with this value to provide simple namespacing.
Expand Down

0 comments on commit 7a69835

Please sign in to comment.