splitclient-rb 7.1.0.pre.rc7-java → 7.1.0.pre.rc8-java
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdea3e6e0fa63f0c60976746fee8daaf74c47f3e
|
4
|
+
data.tar.gz: 75b6a24b83de10c831ba5be6b2280d0945ec9397
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1423246c7a33a419c4e3a01a0902ceac9b480a97c0bc9a3d6185f983279ff889b23482a46e19f3c7f9cb0f2416e0c1777de4621ec20d5699cacf2188ebdaa1a7
|
7
|
+
data.tar.gz: bd8a04291a80f07e6b5984b94df8f6d258d4e8e825713f599216ecadadb058e1430b4788ab5e4fa6c03a54a53dbd4b99939f883c2dd194eb9c59acb83ed14c5b
|
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)
|