chapman 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/chapman.rb +2 -1
  2. data/lib/chapman/version.rb +1 -1
  3. 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 1
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)
@@ -1,3 +1,3 @@
1
1
  module Chapman
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chapman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: