aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rinda
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-27 05:50:21 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-27 05:50:21 +0000
commit9c8f03fac927d153f314be4259c5b7fc9b7fedc9 (patch)
tree7ca75b801b7b5a52b1221fec0fdbedcbde1c6e96 /lib/rinda
parentfdcc476e217eac6143e7d1585900955c7ceda737 (diff)
downloadruby-9c8f03fac927d153f314be4259c5b7fc9b7fedc9.tar.gz
* lib/rinda/ring.rb: Announce RingServer for the same process.
[ruby-trunk - Bug #9163] * test/rinda/test_rinda.rb: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rinda')
-rw-r--r--lib/rinda/ring.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rinda/ring.rb b/lib/rinda/ring.rb
index 29ea5f0ff6..1ecc56a4f5 100644
--- a/lib/rinda/ring.rb
+++ b/lib/rinda/ring.rb
@@ -212,7 +212,7 @@ module Rinda
# address of the local TupleSpace.
def do_reply
- tuple = @ts.take([:lookup_ring, DRbObject], @renewer)
+ tuple = @ts.take([:lookup_ring, nil], @renewer)
Thread.new { tuple[1].call(@ts) rescue nil}
rescue
end