splitclient-rb 7.1.0.pre.rc11-java → 7.1.0.pre.rc12-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/splitclient-rb/engine/push_manager.rb +1 -1
- data/lib/splitclient-rb/engine/sync_manager.rb +4 -2
- data/lib/splitclient-rb/sse/event_source/client.rb +1 -1
- data/lib/splitclient-rb/sse/workers/segments_worker.rb +1 -1
- data/lib/splitclient-rb/sse/workers/splits_worker.rb +1 -1
- data/lib/splitclient-rb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20b3554519953fdb8856cbb2eec10b2d1bd98133
|
4
|
+
data.tar.gz: 40de2fa3afa38b9dd9f798dd7d30d2c93350fb1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e8c13be7f7b168ae43c29ace601258872d06e2fcc7ca3e27c30c0c16bf2db99b10c0fea8c6b9127940b37237f217de062cb6b5b731f44b0707b29d0d8629783
|
7
|
+
data.tar.gz: 68b8fbdbb271a3d5f9f45dedada5f86edc74ad811809e4779861d0b04866b9bb4c03725bdfda4540678ddb06993ab961acb09a155deb57bb6db73e4520901331
|
@@ -17,7 +17,7 @@ module SplitIoClient
|
|
17
17
|
@config.logger.debug("Auth service response push_enabled: #{response[:push_enabled]}") if @config.debug_enabled
|
18
18
|
if response[:push_enabled]
|
19
19
|
@sse_handler.start(response[:token], response[:channels])
|
20
|
-
schedule_next_token_refresh(
|
20
|
+
schedule_next_token_refresh(response[:exp])
|
21
21
|
@back_off.reset
|
22
22
|
else
|
23
23
|
stop_sse
|
@@ -48,14 +48,16 @@ module SplitIoClient
|
|
48
48
|
|
49
49
|
# Starts tasks if stream is enabled.
|
50
50
|
def start_stream
|
51
|
-
|
51
|
+
@config.logger.debug("Starting push mode ...")
|
52
|
+
stream_start_thread
|
52
53
|
stream_start_thread_forked if defined?(PhusionPassenger)
|
53
54
|
|
54
|
-
stream_start_sse_thread
|
55
|
+
stream_start_sse_thread
|
55
56
|
stream_start_sse_thread_forked if defined?(PhusionPassenger)
|
56
57
|
end
|
57
58
|
|
58
59
|
def start_poll
|
60
|
+
@config.logger.debug("Starting polling mode ...")
|
59
61
|
@synchronizer.start_periodic_fetch
|
60
62
|
@synchronizer.start_periodic_data_recording
|
61
63
|
rescue StandardError => e
|
@@ -47,7 +47,7 @@ module SplitIoClient
|
|
47
47
|
def start(url)
|
48
48
|
@uri = URI(url)
|
49
49
|
|
50
|
-
connect_thread
|
50
|
+
connect_thread
|
51
51
|
connect_passenger_forked if defined?(PhusionPassenger)
|
52
52
|
rescue StandardError => e
|
53
53
|
@config.logger.error("SSEClient start Error: #{e.inspect}")
|
@@ -15,7 +15,7 @@ module SplitIoClient
|
|
15
15
|
return if SplitIoClient::Helpers::ThreadHelper.alive?(:segment_update_worker, @config)
|
16
16
|
|
17
17
|
@queue = Queue.new
|
18
|
-
perform_thread
|
18
|
+
perform_thread
|
19
19
|
perform_passenger_forked if defined?(PhusionPassenger)
|
20
20
|
end
|
21
21
|
|
@@ -14,7 +14,7 @@ module SplitIoClient
|
|
14
14
|
return if SplitIoClient::Helpers::ThreadHelper.alive?(:split_update_worker, @config)
|
15
15
|
|
16
16
|
@queue = Queue.new
|
17
|
-
perform_thread
|
17
|
+
perform_thread
|
18
18
|
perform_passenger_forked if defined?(PhusionPassenger)
|
19
19
|
end
|
20
20
|
|
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.1.0.pre.
|
4
|
+
version: 7.1.0.pre.rc12
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Split Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|