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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77ac10c0064665c6ade4cbf92da541d72df800f7
|
4
|
+
data.tar.gz: aa952ae204adb4cad8fcfe4535c6754e8b8ff38a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
@
|
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
|