Comparing version 0.1.9 to 0.2.0
@@ -6,4 +6,2 @@ var util = require('util') | ||
var NO_INSTANCE_FOUND_RESPONSE = Q.reject(new Error('No cache instance is currently available')) | ||
function RedundantCacheGroup() { | ||
@@ -78,3 +76,3 @@ CacheInstance.call(this) | ||
var instance = this._getAvailableInstance() | ||
if (!instance) return NO_INSTANCE_FOUND_RESPONSE | ||
if (!instance) return Q.resolve([]) | ||
@@ -86,3 +84,3 @@ return instance.mget(keys) | ||
var instance = this._getAvailableInstance() | ||
if (!instance) return NO_INSTANCE_FOUND_RESPONSE | ||
if (!instance) return Q.resolve(undefined) | ||
@@ -89,0 +87,0 @@ return instance.get(key) |
{ | ||
"name": "zcache" | ||
, "description": "AWS zone-aware caching" | ||
, "version": "0.1.9" | ||
, "version": "0.2.0" | ||
, "homepage": "https://github.com/azulus/zcache" | ||
@@ -6,0 +6,0 @@ , "authors": [ |
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
69598
1543