RubyGems
npm
Organizations
Log in
Sign up
RubyGems
rcarvalho-workless
Versions diffs
1.0.2.4 → 1.0.2.5
rcarvalho-workless 1.0.2.4 → 1.0.2.5
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/workless/scalers/base.rb
+1
-1
metadata
+2
-2
data/lib/workless/scalers/base.rb
CHANGED
Viewed
@@ -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
Viewed
@@ -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