lru-cache-for-clusters-as-promised
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -0,1 +1,6 @@ | ||
1.5.3 / 2016-11-17 | ||
================== | ||
* Improved debug logging | ||
1.5.1 / 2016-11-17 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -213,5 +213,4 @@ /** | ||
lru = caches[cache.namespace]; | ||
debug('Loaded cache out of shared namespace'); | ||
debug(`Loaded cache from shared namespace ${cache.namespace}`); | ||
} else { | ||
debug('Created new LRU cache'); | ||
lru = new LRUCache(options); | ||
@@ -222,2 +221,3 @@ caches[cache.namespace] = lru; | ||
} | ||
debug(`Created new LRU cache ${cache.namespace}`); | ||
} | ||
@@ -235,3 +235,4 @@ } | ||
if (cluster.isMaster) { | ||
// act on the local lru-cache | ||
// acting on the local lru-cache | ||
messages(cache.namespace, args); | ||
switch (func) { | ||
@@ -238,0 +239,0 @@ case 'max': |
{ | ||
"name": "lru-cache-for-clusters-as-promised", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "LRU Cache that is safe for clusters", | ||
@@ -5,0 +5,0 @@ "main": "./lru-cache-for-clusters-as-promised.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47517
1046