atomic_cache 0.2.3.rc1 → 0.2.4.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atomic_cache/atomic_cache_client.rb +2 -0
- data/lib/atomic_cache/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 372963cc5a7e83a92d2dd2ca4336cac86f9664efc0a8cabdffcf7dfb9ba86b17
|
4
|
+
data.tar.gz: 2db0bb7c54a07280c70349ce6527836d80898e671c0b49eb427f86340094ed6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32a9f8189dcdbb5793dc785d0521fd39c42743d017e8763d0ac20cdf030fea10bbe28d7365cdaf2386c3b0cc121db954b73f053f691d8450ca170fdd9eae9f19
|
7
|
+
data.tar.gz: f17e1bd01c14c07d43be161edb08f0601e85c526b4c2354ae2bd06e26ae5441f7437900e5af6afe8d83a618bbe434a231a77810201865ee6eb237a06239911fc
|
@@ -45,6 +45,7 @@ module AtomicCache
|
|
45
45
|
value = @storage.read(key, options) if key.present?
|
46
46
|
if !value.nil?
|
47
47
|
metrics(:increment, 'read.present', tags: tags)
|
48
|
+
log(:debug, "Read value from key: '#{key}'")
|
48
49
|
return value
|
49
50
|
end
|
50
51
|
|
@@ -136,6 +137,7 @@ module AtomicCache
|
|
136
137
|
# last known key may have expired
|
137
138
|
if !lkv.nil?
|
138
139
|
metrics(:increment, 'last-known-value.present', tags: tags)
|
140
|
+
log(:debug, "Read value from last known value key: '#{lkk}'")
|
139
141
|
return lkv
|
140
142
|
end
|
141
143
|
|
data/lib/atomic_cache/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atomic_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ibotta Developers
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-06-
|
12
|
+
date: 2021-06-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|