message_bus 2.2.0.pre → 2.2.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of message_bus might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG +6 -0
- data/lib/message_bus/diagnostics.rb +2 -2
- data/lib/message_bus/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: 84e3a1f854cd9f55aa92c7ea2492e1aff27e7e355697fbdab99ff3c29fd6848c
|
4
|
+
data.tar.gz: afabfc19270d9dce907b75c5e24e71f687da93b7ef1263d7fd1949a4ae6c3c9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbddd201c0627871707688ed537d349072c7a9e14a9034694d88c8ded02808617ae3847397493d2001e14dfd641913429c9c3a11573adee69c7055b5850c5ff8
|
7
|
+
data.tar.gz: 1fb6bc261735951ab1daaa06d5e179dfe734d7629f417e0cc2e9b638b67732cc8fdcc8f9bcb0c18379035c171f73b82b47559e8596235d557bef5fb8466596ea
|
data/CHANGELOG
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
30-11-2018
|
2
2
|
|
3
|
+
- Version 2.2.0.pre.1
|
4
|
+
|
5
|
+
- FIX: diagnostics stopped working cause a private method was invoked on self
|
6
|
+
|
7
|
+
30-11-2018
|
8
|
+
|
3
9
|
- Version 2.2.0.pre
|
4
10
|
|
5
11
|
- FIX: In redis backend we now expire the key used to track channel id this can cause a redis key leak
|
@@ -8,7 +8,7 @@ class MessageBus::Diagnostics
|
|
8
8
|
def enable(bus = MessageBus)
|
9
9
|
full_path = full_process_path
|
10
10
|
start_time = Time.now.to_f
|
11
|
-
hostname =
|
11
|
+
hostname = get_hostname
|
12
12
|
|
13
13
|
# it may make sense to add a channel per machine/host to streamline
|
14
14
|
# process to process comms
|
@@ -51,7 +51,7 @@ class MessageBus::Diagnostics
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
def
|
54
|
+
def get_hostname
|
55
55
|
begin
|
56
56
|
`hostname`.strip
|
57
57
|
rescue
|
data/lib/message_bus/version.rb
CHANGED