splitclient-rb 7.3.3.pre.rc10-java → 7.3.3.pre.rc11-java
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7eed42691d0baf11920f4246d2fb9f91db37765
|
4
|
+
data.tar.gz: 92b90bb3f3891ecf3848839321cd3562b405a4ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee50e3e24092d150afec5c774c00f425faa4786d59733cfb7a3539ae8c483dbdd5ce49f2d1b56e433169ba7ced2b4f15c614a711bd8adbce8d0ffc36adfca5ee
|
7
|
+
data.tar.gz: 515315961edd0a16711b531cdb2e1c34e7e310d536ea93e35f150cc078b30a662e789197e7b1317716782f09fad90618c50c7610c1a9c6f25ce9450fec42dbea
|
@@ -7,8 +7,6 @@ module SplitIoClient
|
|
7
7
|
thread = config.threads[thread_sym]
|
8
8
|
|
9
9
|
unless thread.nil?
|
10
|
-
config.logger.debug("Stopping #{thread_sym} thread...") if config.debug_enabled
|
11
|
-
config.logger.debug("################## #{thread.status}") if config.debug_enabled
|
12
10
|
Thread.kill thread
|
13
11
|
config.logger.debug("#{thread_sym} killed.") if config.debug_enabled
|
14
12
|
end
|
@@ -36,6 +36,11 @@ module SplitIoClient
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def close(action = Constants::PUSH_NONRETRYABLE_ERROR)
|
39
|
+
unless connected?
|
40
|
+
@config.logger.error('SSEClient already disconected.') if @config.debug_enabled
|
41
|
+
return
|
42
|
+
end
|
43
|
+
|
39
44
|
@connected.make_false
|
40
45
|
@socket&.close
|
41
46
|
dispatch_action(action)
|
@@ -87,8 +92,11 @@ module SplitIoClient
|
|
87
92
|
read_first_event(partial_data, latch)
|
88
93
|
|
89
94
|
raise 'eof exception' if partial_data == :eof
|
95
|
+
rescue Errno::EBADF, IOError => e
|
96
|
+
@config.logger.debug(e.inspect)
|
97
|
+
return nil
|
90
98
|
rescue StandardError => e
|
91
|
-
@config.logger.error(
|
99
|
+
@config.logger.error("Error reading partial data: #{e.inspect}") if @config.debug_enabled
|
92
100
|
return Constants::PUSH_RETRYABLE_ERROR
|
93
101
|
end
|
94
102
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: splitclient-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.3.3.pre.
|
4
|
+
version: 7.3.3.pre.rc11
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Split Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|