redis-conductor
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -0,1 +1,5 @@ | ||
## v0.0.3 - 201801161604 | ||
- logic | ||
## v0.0.2 - 201801161551 | ||
@@ -2,0 +6,0 @@ |
@@ -18,7 +18,7 @@ 'use strict'; | ||
if (opts.idSuffix !== undefined) { this._idString = `${this._idString}:${opts.idSuffix}`; } | ||
opts.crashOnError = opts.crashOnError || true; | ||
opts.crashOnError = opts.crashOnError !== false; | ||
opts.host = opts.host || '127.0.0.1'; | ||
opts.intervalString = opts.intervalString || '*/10 * * * * *'; | ||
opts.port = opts.port || 6379; | ||
if (opts.crashOnError === false || opts.crashOnError === 'false') { opts.exitOnError = true; } | ||
if (opts.exitOnError === undefined) { opts.exitOnError = ! opts.crashOnError; } | ||
if (opts.authPass !== undefined) { connOptions.auth_pass = opts.authPass; } | ||
@@ -25,0 +25,0 @@ let self = this; |
{ | ||
"name": "redis-conductor", | ||
"license": "BSD-3-Clause", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "node-schedule": "1.3.0", |
10182