rails_autoscale_agent 0.8.1 → 0.8.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: e8dbbc3694c07403043f08525c27933723f1110e7b6a035bf0ffcd47f5ba6cb8
|
4
|
+
data.tar.gz: fbad110d671bfb32dcfdfb31263b1a0bfd137e2074ed6cd23b2ffd734a2b9402
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c57fc917a84ebca827f1c8bebe43425f04bd70d19448f041151b40e9c9efb882cfbe3e1568c142d12fc335de348a29edfc4c859198fa7de773e302cad56916f
|
7
|
+
data.tar.gz: 3f1ee0279f3513cf3048658668e4950240029b2f48a3d12d34573fa5990783ebe3f0f958e76cfa0e260d3761c54ffe2d6fdb6562e8ee3011b6b009222723c17b
|
@@ -32,6 +32,7 @@ module WorkerAdapters
|
|
32
32
|
queues = self.class.queues | run_at_by_queue.keys
|
33
33
|
|
34
34
|
queues.each do |queue|
|
35
|
+
next if queue.nil? || queue.empty?
|
35
36
|
run_at = run_at_by_queue[queue]
|
36
37
|
run_at = Time.parse(run_at) if run_at.is_a?(String)
|
37
38
|
latency_ms = run_at ? ((t - run_at)*1000).ceil : 0
|
@@ -32,6 +32,7 @@ module WorkerAdapters
|
|
32
32
|
self.class.queues |= run_at_by_queue.keys
|
33
33
|
|
34
34
|
self.class.queues.each do |queue|
|
35
|
+
next if queue.nil? || queue.empty?
|
35
36
|
run_at = run_at_by_queue[queue]
|
36
37
|
run_at = Time.parse(run_at) if run_at.is_a?(String)
|
37
38
|
latency_ms = run_at ? ((t - run_at)*1000).ceil : 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_autoscale_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam McCrea
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|