unicorn-autoscaling 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 984c9f0d1cc794ad3f397499b1425a3f53e8b97a
4
- data.tar.gz: 78695c9d01b61ba36bb744e9862aae09535fe392
3
+ metadata.gz: cd8d1e89eb38c00c145d7b7948ee12f8498efde8
4
+ data.tar.gz: ad5b780e21c8ee5c8a2f0ffbba9eedf7ba524e8b
5
5
  SHA512:
6
- metadata.gz: 8025bcffccb6507cd98638b3844c76d8ef8caece803db25ded94c85c42a49165e44961033aa6a8d1962da5a74bc08b924f2d86fb6c2935d0859db6761ac6755c
7
- data.tar.gz: 4543cdb539e2493519382647936b8f836b6936ad36cb677f37b980bd3335c9277603ff5a7d572fa7e5af3244062722b21dbc8e3217ac2bc1dc606f59dadab51d
6
+ metadata.gz: 63af7f28b2f74d81f9ac33f7586e62c439f68926257bea580141d2fd3e884d5df64df199778cd88a1f9e5e6fc592974d39c6f5c103b3b54c939b2f185c0fe7bd
7
+ data.tar.gz: fdca0d04df52edb8ce4807b3158f4812b9ce1a2ad2d3682f455910a4892825557bbd678d7b9cf7389a6eed42b478ea93e2350d2e9e8e02f601c965cb12775774
@@ -28,16 +28,12 @@ module Unicorn
28
28
  logger.info("Auto scaling: UP")
29
29
 
30
30
  self.worker_processes += 1
31
- else
32
- logger.warn('Auto scaling: Unable to scale up since maximum number of workers already reached!')
33
31
  end
34
32
  elsif @_autoscale_raindrop[RAINDROP_OFFSET] == DECREMENT
35
33
  if self.worker_processes > self.autoscale_min_workers
36
34
  logger.info('Auto scaling: DOWN')
37
35
 
38
36
  self.worker_processes -= 1
39
- else
40
- logger.warn('Auto scaling: Unable to scale down since minimum number of workers already reached!')
41
37
  end
42
38
  end
43
39
 
@@ -3,6 +3,6 @@ module Unicorn
3
3
  # AutoScaling
4
4
  module AutoScaling
5
5
  # gem version
6
- VERSION = '0.0.1'
6
+ VERSION = '0.0.2'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicorn-autoscaling
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Schwab