change example
This commit is contained in:
1 parent
41a0620126
commit
a6197c183e
4 files changed
+4
-11
No files matched your search
+2
-3
@@ -1,3 +1,2 @@
|
|||||||
neverdie ./never_die
|
ticker ./ticker
|
||||||
diealot ./die_alot
|
error ./error
|
||||||
error ./error
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env ruby
|
|
||||||
|
|
||||||
puts "sleeping for 2s then dying"
|
|
||||||
sleep 2
|
|
||||||
exit 0
|
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
puts "will error in 10s"
|
puts "will error in 10s"
|
||||||
sleep 10
|
sleep 5
|
||||||
raise "Dying"
|
raise "Dying"
|
||||||
@@ -2,6 +2,5 @@
|
|||||||
|
|
||||||
while true
|
while true
|
||||||
puts "tick"
|
puts "tick"
|
||||||
$stdout.flush
|
sleep 1
|
||||||
sleep 5
|
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user