Created
May 5, 2010 18:41
-
-
Save jhsu/391243 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git lib/redis-store.rb lib/redis-store.rb | |
index 2ee9337..463fe91 100644 | |
--- lib/redis-store.rb | |
+++ lib/redis-store.rb | |
@@ -1,5 +1,5 @@ | |
require "redis" | |
-require "dist_redis" | |
+require "redis/distributed" | |
require "redis/redis_factory" | |
require "redis/marshaled_redis" | |
require "redis/distributed_marshaled_redis" | |
diff --git lib/redis/distributed_marshaled_redis.rb lib/redis/distributed_marshaled_redis.rb | |
index 5195947..500ea49 100644 | |
--- lib/redis/distributed_marshaled_redis.rb | |
+++ lib/redis/distributed_marshaled_redis.rb | |
@@ -1,4 +1,4 @@ | |
-class DistributedMarshaledRedis < DistRedis | |
+class DistributedMarshaledRedis < Redis::Distributed | |
def initialize(addresses) | |
nodes = addresses.map do |address| | |
MarshaledRedis.new address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment