splitclient-rb 7.1.4.pre.rc15-java → 7.1.4.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: 8f504d11034407e8b7fc5d8d0a26051f4c05cacf
4
- data.tar.gz: e49c6ee42c50316e44b12dd83bbd4e93bca295b8
3
+ metadata.gz: 9ae2af4ecd017f1fb62cfc671e0dee874b4bf615
4
+ data.tar.gz: ea715f541b293f3ba800c8c28229694b790ca9f4
5
5
  SHA512:
6
- metadata.gz: b5908ee0a0cf219b6abeb2085c1b818d3f1853c62c85871f2129068b1b497e2dddaf02223a423562de346cec79acbb9c662f162e59e724c077ba05c23c4f4468
7
- data.tar.gz: 6829f1efda0e2c6d177fb6c3617067e75b52cc0b10c9f2e93ca1c6d8f6c2d9621f3128886dec3cd7d466e083bf9511de89dabea15c462b6b6ecd64da1f891f07
6
+ metadata.gz: f01c9b7fc4060edec9f94c1809b16e4979d9ed15238592ff67f77524b7921c32886b0a528d54d019f1a1d62cdbb74c0551369a6541ab057c089e2a4939036712
7
+ data.tar.gz: 22ccf0edd57996f3924dcb7a8be67d297037550e5afd39100ce822c3067df6156989fd46013c767a2182c257a9ac946f758729b624d6117e98381f5bfe15af1c
@@ -19,10 +19,7 @@ module SplitIoClient
19
19
  end
20
20
 
21
21
  def add_bulk(impressions)
22
- @config.logger.error("### ROUTER.IMPRESSIONS #{impressions.to_s}")
23
- @config.logger.error("### LISTENER #{@listener.nil?}")
24
- return unless @listener
25
-
22
+ @config.logger.warn('ROUTER ADD_BULK')
26
23
  impressions.each do |impression|
27
24
  enqueue(
28
25
  split_name: impression[:i][:f],
@@ -45,7 +42,13 @@ module SplitIoClient
45
42
  private
46
43
 
47
44
  def enqueue(impression)
45
+ @config.logger.warn('ENQUEUE')
46
+ @config.logger.warn(impression.to_s)
47
+ @config.logger.warn(@listener.nil?)
48
+
48
49
  @queue.push(impression) if @listener
50
+ rescue StandardError => error
51
+ @config.log_found_exception(__method__.to_s, error)
49
52
  end
50
53
 
51
54
  def router_thread
@@ -26,7 +26,6 @@ module SplitIoClient
26
26
  end
27
27
 
28
28
  def track(impressions)
29
- @config.logger.error("### IMPRESSIONS #{impressions.to_s}")
30
29
  return if impressions.empty?
31
30
 
32
31
  @impressions_repository.add_bulk(impressions)
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.1.4.pre.rc15'
2
+ VERSION = '7.1.4.pre.rc16'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splitclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.4.pre.rc15
4
+ version: 7.1.4.pre.rc16
5
5
  platform: java
6
6
  authors:
7
7
  - Split Software