rcarvalho-workless 1.0.2.3 → 1.0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/workless/scalers/base.rb +1 -1
  2. metadata +2 -2
@@ -19,7 +19,7 @@ module Delayed
19
19
  return 3 unless num_workers > 2
20
20
  elsif job_count > 50
21
21
  return 2 unless num_workers > 1
22
- elsif job_count > 0
22
+ elsif job_count > 1
23
23
  return 1 unless num_workers > 0
24
24
  else
25
25
  return 0
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 1
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 1.0.2.3
9
+ - 4
10
+ version: 1.0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - lostboy