breeder 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/breeder/watcher/beanstalk.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
@@ -13,7 +13,7 @@ module Breeder
|
|
13
13
|
num = jobs_ready
|
14
14
|
if !!@last_check && insufficient_progress?(num) && num_workers <= @max_workers
|
15
15
|
decision = :spawn
|
16
|
-
elsif !!@last_check && num < 0.
|
16
|
+
elsif !!@last_check && (num < 0.8 * @last_check || num <= 1)
|
17
17
|
decision = :reap
|
18
18
|
else
|
19
19
|
decision = nil
|