splitclient-rb 7.1.0.pre.rc5 → 7.1.0.pre.rc6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab6a19db3a69d0cc5ad230bd3ed40197bd5a3af6b03b68e9cad713588bef6cc1
|
4
|
+
data.tar.gz: a28f0cafb9b11c5e416743b5d047e686ecc291be750489bb2496fbeca8c54be0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f62894b96a044d8a2a96be82f00af0c6533b585ca856b67dcbd2f65806dbb3652fa0c767ba7d6cf8fa1e9c18444bf966406758ca6e12af5059b10ba46e35931a
|
7
|
+
data.tar.gz: 9156b2aa0c262e3595b86daf1632feeece3f9dd85d041becd3df3907e1cfa0c719d86cbc17dc1f177c72dcd35e1599b845a27e87c3cc33ab1e73e8c62b5dc93d
|
@@ -37,6 +37,7 @@ module SplitIoClient
|
|
37
37
|
|
38
38
|
def schedule_next_token_refresh(time)
|
39
39
|
@config.threads[:schedule_next_token_refresh] = Thread.new do
|
40
|
+
@config.logger.debug("schedule_next_token_refresh refresh in #{time} seconds.") if @config.debug_enabled
|
40
41
|
sleep(time)
|
41
42
|
stop_sse
|
42
43
|
start_sse
|
@@ -70,7 +70,7 @@ module SplitIoClient
|
|
70
70
|
|
71
71
|
while @connected.value
|
72
72
|
begin
|
73
|
-
partial_data = @socket.readpartial(
|
73
|
+
partial_data = @socket.readpartial(10000, timeout: @read_timeout)
|
74
74
|
rescue Socketry::TimeoutError
|
75
75
|
@config.logger.error("Socket read time out in #{@read_timeout} seconds") if @config.debug_enabled
|
76
76
|
@connected.make_false
|