rcarvalho-workless 1.0.2.4 → 1.0.2.5

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.
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 > 1
22
+ elsif job_count > 0
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
- - 4
10
- version: 1.0.2.4
9
+ - 5
10
+ version: 1.0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - lostboy