neetodeploy-autoscale 1.0.3 → 1.0.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.
- checksums.yaml +4 -4
- data/lib/neetodeploy/autoscale/version.rb +1 -1
- data/lib/neetodeploy/autoscale/worker.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2423b21c7c2ec87b65e527b09beb49b0a2ea39c9265dd3f28f8bb141a7734c9
|
|
4
|
+
data.tar.gz: 6c3f665ba9c00baca79964b53ad9be4df629ccbe7e495f56c2dfce704ac5ae77
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c672dd4ed97a3367e5e74185c31de1ba5c6d39d1068244f1bbba23330142a5c97396514e4886157c6eb89feda1ca2b425e2c58db60533d314eb6029aa27417ac
|
|
7
|
+
data.tar.gz: d3ae69543bbe75523d433305baa081e4369cebc6ba3f893604b4e349a1230827b86014e9182576601e217a3ecf699368ee6494e58191c3380e34dcaf407a24a5
|
|
@@ -29,12 +29,10 @@ module Neetodeploy
|
|
|
29
29
|
private
|
|
30
30
|
|
|
31
31
|
def run
|
|
32
|
-
puts "neetodeploy-autoscale: reporter worker started"
|
|
33
32
|
until queue.empty?
|
|
34
33
|
queue_time = queue.pop
|
|
35
34
|
work(queue_time)
|
|
36
35
|
end
|
|
37
|
-
puts "neetodeploy-autoscale: reporter stopping worker"
|
|
38
36
|
end
|
|
39
37
|
|
|
40
38
|
def work(payload)
|
|
@@ -44,7 +42,7 @@ module Neetodeploy
|
|
|
44
42
|
post["AuthToken"] = "K0An3O3MSyEEMTCnRd1IHgGjdGQkzy"
|
|
45
43
|
|
|
46
44
|
begin
|
|
47
|
-
Net::HTTP.start(url.host, url.port, use_ssl:
|
|
45
|
+
Net::HTTP.start(url.host, url.port, use_ssl: false) do |http|
|
|
48
46
|
response = http.request(post)
|
|
49
47
|
end
|
|
50
48
|
rescue StandardError => e
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: neetodeploy-autoscale
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sreeram Venkitesh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-08-
|
|
11
|
+
date: 2024-08-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: For automatically scaling your Rails application based on network metrics
|
|
14
14
|
email:
|