process_settings 0.15.1 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/process_settings/abstract_monitor.rb +0 -4
- data/lib/process_settings/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe4e35a75d3c8a06396dbc7094874cf5e2509847f66c442ff5297e9c8011cebd
|
4
|
+
data.tar.gz: a7b18e595bde05fd56037570a80008bf3f0cc5d679810dce724a63977fec9a02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f972dcfa9f6e7f988866ac290e71231f0a005842105a284e6a688123e74f9e970ec60749675d0855b47d13d344462169f29cd70b7251b799ae6a6ef4f82b6a6
|
7
|
+
data.tar.gz: e30ad37d7c7508c70471c75322ffcf98c981fb54bdf0e339e6ab512d95c04a8bcd2dad5917381c0a2fbd3ce468e1f04cc18bc0c7919bc9848be3f8b934155853
|
@@ -133,15 +133,11 @@ module ProcessSettings
|
|
133
133
|
|
134
134
|
def full_context_from_cache(dynamic_context)
|
135
135
|
if (full_context = full_context_cache[dynamic_context])
|
136
|
-
logger.info("cache hit ...")
|
137
136
|
full_context
|
138
137
|
else
|
139
|
-
logger.info("cache miss ...")
|
140
138
|
dynamic_context.deep_merge(static_context).tap do |full_context|
|
141
139
|
if full_context_cache.size <= 1000
|
142
140
|
full_context_cache[dynamic_context] = full_context
|
143
|
-
else
|
144
|
-
logger.info("cache limit reached ...")
|
145
141
|
end
|
146
142
|
end
|
147
143
|
end
|