sidekiq-heartbeat_monitor 1.0.0.0 → 1.0.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fe057a92d945fc257bcf91b048cd33e41eb23d3
|
4
|
+
data.tar.gz: 04f7c8b1c5b16f6f232ed79571f4e2e77b9e7778
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b001398e4a5b6b8359c165cef198313a1849949edd5a0e776ea01dd7fc5482525b4f78bc566d9840626114c32d2cccdc06f13aaaf2a3f2da5d1cf42996b9240
|
7
|
+
data.tar.gz: 269c7480fbbebd870abdfff6d94c881b036f16823e09eb39c6eab54644073e4f2a9bc894c5a9e4ae7c28c844b3444060e0e0603721521a699c56961429b8afe5
|
@@ -28,7 +28,9 @@ module Sidekiq
|
|
28
28
|
# @param msg [String] Message to post
|
29
29
|
# @param queue_name [String] Queue we're concerned with
|
30
30
|
def send_server_alert(msg, queue_name)
|
31
|
-
Sidekiq::
|
31
|
+
queue = Sidekiq::Queue.all.find{ |q| q.name.to_s == queue_name.to_s }
|
32
|
+
|
33
|
+
Sidekiq::HeartbeatMonitor::Config.send_slowed_down_alert(msg, queue)
|
32
34
|
|
33
35
|
true
|
34
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-heartbeat_monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jay El-Kaake
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dont_repeat_for
|