splitclient-rb 7.1.0.pre.rc15-java → 7.1.0.pre.rc16-java

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
  SHA1:
3
- metadata.gz: 73dfd5b04114c671a88914b73a5e9b116ed88fdb
4
- data.tar.gz: 543513cc0517877e2369a010ec5b57cda720378c
3
+ metadata.gz: 473ab58b58ec7331b1fdb7fe3d584bac211ae83e
4
+ data.tar.gz: 0d6decb9582aa81dcb985f54530edbfaa57ea692
5
5
  SHA512:
6
- metadata.gz: 023ac34acea770c33cd6a40c5b2c0b2b40c1b5783b6c9c49acdfb885d5e6b318f1f99da2b53b0f18dac2551241f12a895609a3a15fb3f091c298def55d8eaeac
7
- data.tar.gz: 3ecb400b324de2b72a2aab6d6696c85fbfaab2281a2d9b4fa353010e9c7b713c4e603047952b9c51eab77a36dca56647858a46db985cc628ab2116c2fe068ab9
6
+ metadata.gz: 2d0334efdc3d10286690e4a5b074b8b9f8dbe26e3e6f3d23faeb336c93e129135bb6f6466fefce2642d9db85c497b699457de9fc9e276de27ddcd06156cabcaf
7
+ data.tar.gz: '083be679cb1928fc8a988a635ca13947755cf392e2b66980366076bb68fde8ea01932a8c41fe57455c85f98c24d98d120393deecae40e6a38848123448eafa7b'
@@ -48,15 +48,16 @@ module SplitIoClient
48
48
 
49
49
  # Starts tasks if stream is enabled.
50
50
  def start_stream
51
- @config.logger.debug("Starting push mode ...")
51
+ @config.logger.debug('Starting push mode ...')
52
52
  stream_start_thread
53
53
  @synchronizer.start_periodic_data_recording
54
54
 
55
55
  stream_start_sse_thread
56
+ stream_start_sse_thread_forked if defined?(PhusionPassenger)
56
57
  end
57
58
 
58
59
  def start_poll
59
- @config.logger.debug("Starting polling mode ...")
60
+ @config.logger.debug('Starting polling mode ...')
60
61
  @synchronizer.start_periodic_fetch
61
62
  @synchronizer.start_periodic_data_recording
62
63
  rescue StandardError => e
@@ -67,7 +68,7 @@ module SplitIoClient
67
68
  def stream_start_thread
68
69
  @config.threads[:sync_manager_start_stream] = Thread.new do
69
70
  begin
70
- @synchronizer.sync_all
71
+ @synchronizer.sync_all
71
72
  rescue StandardError => e
72
73
  @config.logger.error("stream_start_thread error : #{e.inspect}")
73
74
  end
@@ -47,8 +47,7 @@ module SplitIoClient
47
47
  def start(url)
48
48
  @uri = URI(url)
49
49
 
50
- connect_thread unless defined?(PhusionPassenger)
51
- connect_passenger_forked if defined?(PhusionPassenger)
50
+ connect_thread
52
51
  rescue StandardError => e
53
52
  @config.logger.error("SSEClient start Error: #{e.inspect}")
54
53
  end
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.1.0.pre.rc15'
2
+ VERSION = '7.1.0.pre.rc16'
3
3
  end
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.rc15
4
+ version: 7.1.0.pre.rc16
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-26 00:00:00.000000000 Z
11
+ date: 2020-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement