@astro-my/cache
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -14,3 +14,3 @@ /** | ||
cachePassword: undefined, | ||
cacheCluster: false | ||
cacheCluster: 0 | ||
}; | ||
@@ -36,3 +36,3 @@ | ||
const run = () => { | ||
if (configuration.cacheCluster && configuration.cacheCluster === true) { | ||
if (configuration.cacheCluster && Number(configuration.cacheCluster) === 1) { | ||
// means cluster needs to be setup | ||
@@ -39,0 +39,0 @@ const clusterNodes = []; |
{ | ||
"name": "@astro-my/cache", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Cache wrapper to use ioredis conviently\"", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,2 +12,4 @@ # Astro Cache Service (Redis) | ||
cacheCluster // optional, 1 - true, 0 - false | ||
cachePassword // optional | ||
@@ -14,0 +16,0 @@ |
15467
113