rain_catcher 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rain_catcher/subscriber.rb +5 -1
- data/lib/rain_catcher/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5487ed39ee210826f5b8c1390b003d42b62ac7d4e0e8c5990e215dcb1f20a970
|
4
|
+
data.tar.gz: d5ed100f51cc1674313c00599bd4b849a3f2f68e88687460ade5a7d84dc98f4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a440991b9ff2fcda563228896b46f0af47b9c15c662bf2f2268e35864977ce59056f0071732b64e505fa33e6629f2da5ebf0de9bf88f55171cc78cbe700cfff
|
7
|
+
data.tar.gz: 2bafe2a1742376b8ad035b0f6a4870ab31ccb8e132e6e3a45cf867c8fe46ca17a67e7af424d411db3725814d332ebe1273743770eb9802518eb83702b7c06c97
|
data/README.md
CHANGED
@@ -23,9 +23,13 @@ module RainCatcher
|
|
23
23
|
private
|
24
24
|
|
25
25
|
def queue_data
|
26
|
+
return nil unless defined?(Unicorn)
|
26
27
|
return nil unless Raindrops::Linux.respond_to?(:tcp_listener_stats)
|
27
28
|
|
28
|
-
|
29
|
+
listener = Unicorn.listener_names.first
|
30
|
+
return nil if listener.nil?
|
31
|
+
|
32
|
+
Raindrops::Linux.tcp_listener_stats[listener]&.merge(
|
29
33
|
source: 'rain_catcher',
|
30
34
|
application: @application_name,
|
31
35
|
environment: @environment
|
data/lib/rain_catcher/version.rb
CHANGED