Skip to content

Commit

Permalink
Hrm.
Browse files Browse the repository at this point in the history
  • Loading branch information
evan committed Apr 23, 2008
1 parent aafa655 commit a6b17c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/memcached/memcached.rb
Expand Up @@ -76,7 +76,7 @@ def initialize(servers, opts = {})

# Force :ketama to use :consistent_ketama, the rest use :modula
if options[:hash] == :ketama
options[:distribution] == :g_ketama
options[:distribution] == :consistent_ketama
else
options[:distribution] == :modula
end
Expand Down
2 changes: 0 additions & 2 deletions test/unit/memcached_test.rb
Expand Up @@ -620,8 +620,6 @@ def test_no_block_existing_add
# Server removal and consistent hashing

def test_missing_server
start 43044

cache = Memcached.new(
[@servers.last, '127.0.0.1:43044'], # Use a server that isn't running
:namespace => @namespace
Expand Down

0 comments on commit a6b17c3

Please sign in to comment.