autoscale-queue-sidekiq 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/autoscale/queue/sidekiq/version.rb +1 -1
- data/lib/autoscale/queue/sidekiq.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f32459a0eb96ca94c85f402e10d092d38e6b9e43e0db5c425f61cbc05edd5fb0
|
4
|
+
data.tar.gz: a8b2d67a4fcd7a772a2b3bb78f59de6a352459138be17733510b99d456adebe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2900b56db5a566c3cd215ec1377c707cf43916a7e3ea4dfa567d15a7af07a316ecb143a542a6f701f01c2830b2fbed5c0262829febfaf6170667a0551503450
|
7
|
+
data.tar.gz: d197c52e435dff29369c08f2b92f0958ff2b00d2251e7c782145d24887ceb40636af173da795434a4f2fd126968fb6b200385ce4ed1fff935cee6f5c2f7340cd
|
data/CHANGELOG.md
CHANGED
@@ -5,12 +5,12 @@ require "sidekiq/api"
|
|
5
5
|
module Autoscale
|
6
6
|
module Queue
|
7
7
|
module Sidekiq
|
8
|
-
def
|
8
|
+
def job_queue_time(*queues)
|
9
9
|
queues = ::Sidekiq::Queue.all.map(&:name) if queues.empty?
|
10
10
|
queues.map { |queue| ::Sidekiq::Queue.new(queue).latency }.max.round
|
11
11
|
end
|
12
12
|
|
13
|
-
module_function :
|
13
|
+
module_function :job_queue_time
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoscale-queue-sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael R. van Rooijen
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '8'
|
33
|
-
description:
|
33
|
+
description:
|
34
34
|
email:
|
35
35
|
- support@autoscale.app
|
36
36
|
executables: []
|
@@ -53,7 +53,7 @@ metadata:
|
|
53
53
|
changelog_uri: https://github.com/autoscale-app/ruby-queue-sidekiq/blob/master/CHANGELOG.md
|
54
54
|
bug_tracker_uri: https://github.com/autoscale-app/ruby-queue-sidekiq/issues
|
55
55
|
rubygems_mfa_required: 'true'
|
56
|
-
post_install_message:
|
56
|
+
post_install_message:
|
57
57
|
rdoc_options: []
|
58
58
|
require_paths:
|
59
59
|
- lib
|
@@ -68,8 +68,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
|
-
rubygems_version: 3.4.
|
72
|
-
signing_key:
|
71
|
+
rubygems_version: 3.4.10
|
72
|
+
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: Produces Sidekiq queue metrics for the Autoscale.app Agent
|
75
75
|
test_files: []
|