Skip to content

Commit

Permalink
No need patch the rinda RingFinger class
Browse files Browse the repository at this point in the history
The new version using Thread and patch will cause unstable in windows platform.
C:\Ruby200\lib\ruby\2.0.0\rinda\ring.rb
  • Loading branch information
Eric-Guo committed Jun 20, 2015
1 parent 224df49 commit 8858a41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/spork/run_strategy/magazine/magazine_slave_provider.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# magazine_slave_provider.rb
require 'drb'
require 'rinda/ring'
require './rinda_ring_finger_patch' if RUBY_VERSION > '1.9.1'
require './rinda_ring_finger_patch' if RUBY_VERSION > '1.9.1' && RUBY_VERSION < '2.0.0'
require 'rinda/tuplespace'
require './magazine_slave'

Expand Down
2 changes: 1 addition & 1 deletion lib/spork/run_strategy/magazine/ring_server.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ring_server.rb
require 'rinda/ring'
require './rinda_ring_finger_patch' if RUBY_VERSION > '1.9.1'
require './rinda_ring_finger_patch' if RUBY_VERSION > '1.9.1' && RUBY_VERSION < '2.0.0'
require 'rinda/tuplespace'

DRb.start_service
Expand Down

0 comments on commit 8858a41

Please sign in to comment.