fluyenta-ruby 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/brainzlab/flux/buffer.rb +2 -2
- data/lib/brainzlab/flux/client.rb +2 -2
- data/lib/brainzlab/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: 5ff0fdda08335c6c73917352efc84c2321cc5c82aebb032a489fa51aa4c8c89d
|
|
4
|
+
data.tar.gz: 074a432171c594e5d98a06ff0706155f8395d6047500d3922f174077bada8197
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f52256347141f0a27b937400a7fddf9456b1e4989be1e9412cf6cd7beaf7a6f924872bd8e66f8cb54c2c912a9e2cc8eb0daa769699a3d64ab2b566bf2b1d27f
|
|
7
|
+
data.tar.gz: 2cb8f11747ba0593974698635b72dd44636e0e5bd7b4f5f3ab28722739219cdd6c4f5814e6668ced5689b70c8a97f95c4b471715240e0e9ce1ef9d8cf5b6ecf5
|
|
@@ -76,7 +76,7 @@ module BrainzLab
|
|
|
76
76
|
|
|
77
77
|
@client.send_batch(events: events, metrics: metrics)
|
|
78
78
|
rescue StandardError => e
|
|
79
|
-
BrainzLab.
|
|
79
|
+
BrainzLab.debug_log("[Flux] Batch send failed: #{e.message}")
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
def start_flush_thread
|
|
@@ -86,7 +86,7 @@ module BrainzLab
|
|
|
86
86
|
begin
|
|
87
87
|
flush! if size.positive?
|
|
88
88
|
rescue StandardError => e
|
|
89
|
-
BrainzLab.
|
|
89
|
+
BrainzLab.debug_log("[Flux] Flush thread error: #{e.message}")
|
|
90
90
|
end
|
|
91
91
|
end
|
|
92
92
|
end
|
|
@@ -48,11 +48,11 @@ module BrainzLab
|
|
|
48
48
|
|
|
49
49
|
response = http.request(request)
|
|
50
50
|
|
|
51
|
-
BrainzLab.
|
|
51
|
+
BrainzLab.debug_log("[Flux] Request failed: #{response.code} - #{response.body}") unless response.is_a?(Net::HTTPSuccess)
|
|
52
52
|
|
|
53
53
|
response
|
|
54
54
|
rescue StandardError => e
|
|
55
|
-
BrainzLab.
|
|
55
|
+
BrainzLab.debug_log("[Flux] Request error: #{e.message}")
|
|
56
56
|
nil
|
|
57
57
|
end
|
|
58
58
|
|
data/lib/brainzlab/version.rb
CHANGED