splitclient-rb 7.0.3.pre.rc1 → 7.0.3.pre.rc2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 416829c44ec15e88e7e106a23ab7736817d62a45b7975f513fa8d1103cb7e6df
|
4
|
+
data.tar.gz: 035d68b6c0bd65ee4b7938b585e8b40087f3b9bcec95e1bb014547d8d829dda1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d5370b798990edd73c0e22c1b5536798c78321d9dfb95799095c215ed8d3f5fc334d9360618d20273e7e126358c760053977dcbbfc3d3fa31ed4d0aac64fcc2
|
7
|
+
data.tar.gz: 2c1ceceeb69546179b66903275085a507e28e6dc3a95a0adad1655387dbba7e4c317281ba577c3a060dd80e6e96615d83b091d7d1d550e427b5b0877319081ec
|
data/CHANGES.txt
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'concurrent'
|
2
|
+
|
1
3
|
module SplitIoClient
|
2
4
|
module Cache
|
3
5
|
module Repositories
|
@@ -64,15 +66,15 @@ module SplitIoClient
|
|
64
66
|
end
|
65
67
|
|
66
68
|
def clear_counts
|
67
|
-
@counts =
|
69
|
+
@counts = Concurrent::Array.new
|
68
70
|
end
|
69
71
|
|
70
72
|
def clear_latencies
|
71
|
-
@latencies =
|
73
|
+
@latencies = Concurrent::Array.new
|
72
74
|
end
|
73
75
|
|
74
76
|
def clear_gauges
|
75
|
-
@gauges =
|
77
|
+
@gauges = Concurrent::Array.new
|
76
78
|
end
|
77
79
|
|
78
80
|
def clear
|
@@ -152,7 +154,7 @@ module SplitIoClient
|
|
152
154
|
end
|
153
155
|
|
154
156
|
def find_operation_latencies(operation)
|
155
|
-
@latencies.find { |l| l[:operation] == operation
|
157
|
+
@latencies.find { |l| l[:operation] == operation }
|
156
158
|
end
|
157
159
|
end
|
158
160
|
end
|