Permalink
Browse files

change simple to use crashy script

  • Loading branch information...
1 parent 4de27af commit 0f86a2c3a2b87c4e8092f6790e3e7dd4a1dadd97 @jnewland committed Jul 8, 2008
Showing with 5 additions and 5 deletions.
  1. +1 −1 leaky_notifications.god
  2. +1 −1 scripts/crashy.rb
  3. +3 −3 simple.god
View
@@ -18,4 +18,4 @@ God.watch do |w|
end
end
-end
+end
View
@@ -1,4 +1,4 @@
$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
require 'god_test'
-GodTest.new(:crashiness => 5)
+GodTest.new(:crashiness => 5, :delay => 1)
View
@@ -1,8 +1,8 @@
#The simplest possible watch
God.watch do |w|
- w.name = "stable"
- w.interval = 30.seconds
- w.start = 'ruby ' + File.dirname(__FILE__) + '/scripts/stable.rb'
+ w.name = "crashy"
+ w.interval = 1.seconds
+ w.start = 'ruby ' + File.dirname(__FILE__) + '/scripts/crashy.rb'
w.start_if do |start|
start.condition(:process_running) do |c|

0 comments on commit 0f86a2c

Please sign in to comment.