raemon 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/raemon/master.rb +3 -1
- data/lib/raemon.rb +1 -1
- data/raemon.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/raemon/master.rb
CHANGED
@@ -74,7 +74,9 @@ module Raemon
|
|
74
74
|
begin
|
75
75
|
if Time.now.to_i > @last_pulse + (timeout/2)
|
76
76
|
# Pulse (our lifeline to the master process)
|
77
|
-
|
77
|
+
@last_pulse = Time.now.to_i
|
78
|
+
@p = 0 == @p ? 1 : 0
|
79
|
+
worker.pulse.chmod(@p)
|
78
80
|
|
79
81
|
# Make sure master is still around otherwise exit
|
80
82
|
master_pid == Process.ppid or return
|
data/lib/raemon.rb
CHANGED
data/raemon.gemspec
CHANGED