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

Version Path
dguettler-god-0.7.13.2 test/configs/stress/stress.god
dguettler-god-0.7.13.3 test/configs/stress/stress.god
dosire-god-0.7.10 test/configs/stress/stress.god
dosire-god-0.7.12 test/configs/stress/stress.god
dosire-god-0.7.9 test/configs/stress/stress.god
dunedain289-god-0.7.12.1 test/configs/stress/stress.god
dustin-god-0.7.7.1 test/configs/stress/stress.god
eric-god-0.7.10 test/configs/stress/stress.god
eric-god-0.7.11 test/configs/stress/stress.god
eric-god-0.7.12 test/configs/stress/stress.god
eric-god-0.7.14 test/configs/stress/stress.god
eric-god-0.7.7 test/configs/stress/stress.god
fotonauts-god-0.7.10 test/configs/stress/stress.god
fotonauts-god-0.7.12 test/configs/stress/stress.god
gohanlonllc-god-0.7.9 test/configs/stress/stress.god
gordoncww-god-0.7.11.1 test/configs/stress/stress.god
jreynolds-god-0.7.13 test/configs/stress/stress.god
jwilkins-god-0.7.9 test/configs/stress/stress.god
mathieuravaux-god-0.7.11 test/configs/stress/stress.god
mojombo-god-0.7.10 test/configs/stress/stress.god