neetodeploy-autoscale 1.0.0 → 1.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88c6a65097e56575c537111e75e258a63188ef083f2d74d6740500dfddf4773e
|
4
|
+
data.tar.gz: 9618e20c8160daa2bac24b0b24bc403c7a2b37aabfd82564819456a3a878222c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcd203d8d354bf9b351bbb181f9354cf93dd7de364acb82306ab4b77fece0928a1d073314d71fb9cf9a54c09f8a06d6fb9eb163ab10b5885c8206e4f6df28d0d
|
7
|
+
data.tar.gz: 55f6958229b675f26c0c86364783540cc232fee5fc044754e9d482e1e3717fe9a50d3dce0ed498d614993edddc629e711ef481367bb6b642866549e3b4bc8ad0
|
@@ -17,7 +17,7 @@ module Neetodeploy
|
|
17
17
|
queues.each do |queue_obj|
|
18
18
|
queue = queues_by_name.fetch(queue_obj) { |name| ::Sidekiq::Queue.new(name) }
|
19
19
|
|
20
|
-
query_params = URI.encode_www_form(app_name: ENV.to_h["NEETODEPLOY_APP_NAME"], process_type: "worker",
|
20
|
+
query_params = URI.encode_www_form(app_name: ENV.to_h["NEETODEPLOY_APP_NAME"], process_type: "worker", queue_name: queue_obj, queue_time: queue_time(queue))
|
21
21
|
url.query = query_params
|
22
22
|
post = Net::HTTP::Post.new(url)
|
23
23
|
post["AuthToken"] = "K0An3O3MSyEEMTCnRd1IHgGjdGQkzy"
|
@@ -26,7 +26,7 @@ module Neetodeploy
|
|
26
26
|
Net::HTTP.start(url.host, url.port, use_ssl: true) do |http|
|
27
27
|
http.request(post)
|
28
28
|
end
|
29
|
-
rescue e
|
29
|
+
rescue => e
|
30
30
|
puts "Exception in sending post request to exporter from Sidekiq process: #{e.message}"
|
31
31
|
end
|
32
32
|
end
|
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.2
|
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-06-
|
11
|
+
date: 2024-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: For automatically scaling your Rails application based on network metrics
|
14
14
|
email:
|