Skip to content

Commit

Permalink
Never expire slaves.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock authored and timcharper committed Apr 11, 2011
1 parent 1d14893 commit 3e1c9ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/spork/run_strategy/magazine/magazine_slave_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
Dir.chdir app_pwd
puts " -- build slave #{id}..."; $stdout.flush
magazine_slave = MagazineSlave.new(id, test_framework_short_name )
Rinda::RingProvider.new(:MagazineSlave, magazine_slave, id).provide

# never expire, the renewer returns nil, which means expiration of *nix clock
renewer = Rinda::SimpleRenewer.new(nil)
Rinda::RingProvider.new(:MagazineSlave, magazine_slave, id, renewer).provide

puts " --> DRb magazine_slave_service: #{id} provided..."; $stdout.flush

Expand Down

0 comments on commit 3e1c9ad

Please sign in to comment.