Sha256: db76f331d8f61165c2c292e4592f8933f85b1fbf8aae2313666d55135ce05c71
Contents?: true
Size: 337 Bytes
Versions: 65
Compression:
Stored size: 337 Bytes
Contents
('01'..'08').each do |i| God.watch do |w| w.name = "stress-#{i}" w.start = "ruby " + File.join(File.dirname(__FILE__), *%w[simple_server.rb]) w.interval = 0 w.grace = 2 w.group = 'test' w.start_if do |start| start.condition(:process_running) do |c| c.running = false end end end end
Version data entries
65 entries across 65 versions & 21 rubygems