splitclient-rb 7.1.0.pre.rc7 → 7.1.0.pre.rc8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/lib/splitclient-rb/sse/event_source/client.rb +3 -3
- data/lib/splitclient-rb/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: a41fb7094f02469fc143886f354025ebb1ae570e70088e7b248d72ea70520ae5
|
4
|
+
data.tar.gz: b0f9f14072dfcedfda73e4e34b7b9f9d0de6f887fb620322ea1a34899c354cab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18bb5d03f84de13a4141d26396a8bd49bfa90164cc15f7cb1a8f9ba3be2ccaa13a0dd06dcb033120de26bfba0326d63bb6fa478dfec53bf0418d1f7a0e0b5ea4
|
7
|
+
data.tar.gz: 1ef7f6a0641ecb4510d3469058067a9b636367d173650556eff5f114ff2ea53f2be1aa29178a1246efc73c213d81f7a1e079faf674135a9caf50670ab6875407
|
data/.rubocop.yml
CHANGED
@@ -72,13 +72,13 @@ module SplitIoClient
|
|
72
72
|
interval = @back_off.interval
|
73
73
|
sleep(interval) if interval.positive?
|
74
74
|
|
75
|
-
@config.logger.info("Connecting to #{@uri.host}...") if @config.debug_enabled
|
76
|
-
|
77
75
|
socket_write
|
78
76
|
|
79
77
|
while @connected.value
|
80
78
|
begin
|
81
79
|
partial_data = @socket.readpartial(10_000, timeout: @read_timeout)
|
80
|
+
|
81
|
+
raise 'eof exception' if partial_data == :eof
|
82
82
|
rescue StandardError => e
|
83
83
|
@config.logger.error(e.inspect) if @config.debug_enabled
|
84
84
|
@connected.make_false
|
@@ -115,7 +115,7 @@ module SplitIoClient
|
|
115
115
|
dispatch_event(events)
|
116
116
|
end
|
117
117
|
rescue StandardError => e
|
118
|
-
@config.logger.error("
|
118
|
+
@config.logger.error("process_data error: #{e.inspect}")
|
119
119
|
end
|
120
120
|
|
121
121
|
def build_request(uri)
|