splitclient-rb 7.1.4.pre.rc16-java → 7.1.4.pre.rc17-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: 9ae2af4ecd017f1fb62cfc671e0dee874b4bf615
4
- data.tar.gz: ea715f541b293f3ba800c8c28229694b790ca9f4
3
+ metadata.gz: 77ac10c0064665c6ade4cbf92da541d72df800f7
4
+ data.tar.gz: aa952ae204adb4cad8fcfe4535c6754e8b8ff38a
5
5
  SHA512:
6
- metadata.gz: f01c9b7fc4060edec9f94c1809b16e4979d9ed15238592ff67f77524b7921c32886b0a528d54d019f1a1d62cdbb74c0551369a6541ab057c089e2a4939036712
7
- data.tar.gz: 22ccf0edd57996f3924dcb7a8be67d297037550e5afd39100ce822c3067df6156989fd46013c767a2182c257a9ac946f758729b624d6117e98381f5bfe15af1c
6
+ metadata.gz: 1f1a8aa4ebd0e56d0e0abc537917fc95c2f7d30a8f968feab88dc6147922dd4018c958f096df2f0487435d618f4ff6c63573f6ed6948bd8727e99440c5c0f0ce
7
+ data.tar.gz: adf7f29d16ae67a0dedddec0abfbe5126be4854618f0964a36b008595137544e4c1592e5ce5067388d7551e84c7e27f345552a8948a2b4d6ea0523164a271d83
@@ -19,7 +19,6 @@ module SplitIoClient
19
19
  end
20
20
 
21
21
  def add_bulk(impressions)
22
- @config.logger.warn('ROUTER ADD_BULK')
23
22
  impressions.each do |impression|
24
23
  enqueue(
25
24
  split_name: impression[:i][:f],
@@ -42,10 +41,6 @@ module SplitIoClient
42
41
  private
43
42
 
44
43
  def enqueue(impression)
45
- @config.logger.warn('ENQUEUE')
46
- @config.logger.warn(impression.to_s)
47
- @config.logger.warn(@listener.nil?)
48
-
49
44
  @queue.push(impression) if @listener
50
45
  rescue StandardError => error
51
46
  @config.log_found_exception(__method__.to_s, error)
@@ -55,11 +50,16 @@ module SplitIoClient
55
50
  @config.threads[:impression_router] = Thread.new do
56
51
  loop do
57
52
  begin
58
- @listener.log(@queue.pop)
53
+ @config.logger.warn("THREAD POP loop")
54
+ impression = @queue.pop
55
+ @config.logger.warn(impression.to_s)
56
+ @listener.log(impression)
59
57
  rescue StandardError => error
60
58
  @config.log_found_exception(__method__.to_s, error)
61
59
  end
62
60
  end
61
+
62
+ @config.logger.warn("final router loop thread..")
63
63
  end
64
64
  end
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.1.4.pre.rc16'
2
+ VERSION = '7.1.4.pre.rc17'
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.rc16
4
+ version: 7.1.4.pre.rc17
5
5
  platform: java
6
6
  authors:
7
7
  - Split Software