splitclient-rb 7.1.4.pre.rc11-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 +4 -4
- data/ext/murmurhash/MurmurHash3.java +3 -2
- data/lib/murmurhash/murmurhash.jar +0 -0
- data/lib/splitclient-rb/cache/repositories/impressions/redis_repository.rb +1 -1
- data/lib/splitclient-rb/cache/routers/impression_router.rb +9 -1
- data/lib/splitclient-rb/engine/common/impressions_manager.rb +2 -0
- 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: 9ae2af4ecd017f1fb62cfc671e0dee874b4bf615
|
4
|
+
data.tar.gz: ea715f541b293f3ba800c8c28229694b790ca9f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f01c9b7fc4060edec9f94c1809b16e4979d9ed15238592ff67f77524b7921c32886b0a528d54d019f1a1d62cdbb74c0551369a6541ab057c089e2a4939036712
|
7
|
+
data.tar.gz: 22ccf0edd57996f3924dcb7a8be67d297037550e5afd39100ce822c3067df6156989fd46013c767a2182c257a9ac946f758729b624d6117e98381f5bfe15af1c
|
@@ -191,8 +191,9 @@ public final class MurmurHash3 {
|
|
191
191
|
(((long) data[index + 7] & 0xff) << 56);
|
192
192
|
}
|
193
193
|
|
194
|
-
public static long[] hash128x64(final
|
195
|
-
|
194
|
+
public static long[] hash128x64(final String data, final long seed) {
|
195
|
+
final byte[] dataBytes = data.getBytes();
|
196
|
+
return hash128x64(dataBytes, 0, dataBytes.length, seed);
|
196
197
|
}
|
197
198
|
|
198
199
|
/**
|
Binary file
|
@@ -22,7 +22,7 @@ module SplitIoClient
|
|
22
22
|
# Synchronizer might not be running
|
23
23
|
@adapter.expire(key, EXPIRE_SECONDS) if impressions_json.size == impressions_list_size
|
24
24
|
rescue StandardError => e
|
25
|
-
@config.logger.error("Exception while
|
25
|
+
@config.logger.error("Exception while add_bulk: #{e}")
|
26
26
|
end
|
27
27
|
|
28
28
|
def get_impressions(number_of_impressions = 0)
|
@@ -19,7 +19,7 @@ module SplitIoClient
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def add_bulk(impressions)
|
22
|
-
|
22
|
+
@config.logger.warn('ROUTER ADD_BULK')
|
23
23
|
impressions.each do |impression|
|
24
24
|
enqueue(
|
25
25
|
split_name: impression[:i][:f],
|
@@ -35,12 +35,20 @@ module SplitIoClient
|
|
35
35
|
attributes: impression[:attributes]
|
36
36
|
) unless impression.nil?
|
37
37
|
end
|
38
|
+
rescue StandardError => error
|
39
|
+
@config.log_found_exception(__method__.to_s, error)
|
38
40
|
end
|
39
41
|
|
40
42
|
private
|
41
43
|
|
42
44
|
def enqueue(impression)
|
45
|
+
@config.logger.warn('ENQUEUE')
|
46
|
+
@config.logger.warn(impression.to_s)
|
47
|
+
@config.logger.warn(@listener.nil?)
|
48
|
+
|
43
49
|
@queue.push(impression) if @listener
|
50
|
+
rescue StandardError => error
|
51
|
+
@config.log_found_exception(__method__.to_s, error)
|
44
52
|
end
|
45
53
|
|
46
54
|
def router_thread
|
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.4.pre.
|
4
|
+
version: 7.1.4.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-09-
|
11
|
+
date: 2020-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|