chapman 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/chapman.rb +2 -1
- data/lib/chapman/version.rb +1 -1
- metadata +1 -1
data/lib/chapman.rb
CHANGED
@@ -45,7 +45,7 @@ module Chapman
|
|
45
45
|
# keep them alive
|
46
46
|
while not soft_quit?
|
47
47
|
maintain_workers
|
48
|
-
sleep
|
48
|
+
sleep 60
|
49
49
|
end
|
50
50
|
|
51
51
|
murder_workers!
|
@@ -58,6 +58,7 @@ module Chapman
|
|
58
58
|
def maintain_workers
|
59
59
|
running.each_with_index do |runner, index|
|
60
60
|
if not runner[:thread].alive?
|
61
|
+
log "Dead Thread detected: #{runner[:thread].inspect}"
|
61
62
|
w = Creeper::Worker.new()
|
62
63
|
t = Thread.new do
|
63
64
|
w.work(jobs)
|
data/lib/chapman/version.rb
CHANGED