Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,8 @@ | ||
v.2.1.1 | ||
======= | ||
- Catch errors produced in timers. Related to #441 | ||
[Changes](https://github.com/OptimalBits/bull/compare/v2.1.0...v2.1.1) | ||
v.2.1.0 | ||
@@ -19,3 +26,2 @@ ======= | ||
v.1.1.3 | ||
@@ -22,0 +28,0 @@ ======= |
@@ -130,3 +130,5 @@ /*eslint-env node */ | ||
.then(function(lock) { | ||
if (lock) _this.lock = lock; | ||
if (lock){ | ||
_this.lock = lock; | ||
} | ||
return lock || false; | ||
@@ -133,0 +135,0 @@ }); |
@@ -295,3 +295,3 @@ /** | ||
if (lock) { | ||
return Promise.resolve(null); | ||
return Promise.resolve(lock); | ||
} | ||
@@ -298,0 +298,0 @@ |
@@ -80,3 +80,7 @@ /*eslint-env node */ | ||
timerInstance.clear(timeoutId); | ||
fn(); | ||
try{ | ||
fn(); | ||
}catch(err){ | ||
console.error(err); | ||
} | ||
}, delay, this, id); | ||
@@ -83,0 +87,0 @@ |
{ | ||
"name": "bull", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Job manager", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -439,3 +439,3 @@ Bull Job Manager | ||
backoff.type {String} Backoff type, which can be either `fixed` or `exponential` | ||
backoff.delay {String} Backoff delay, in milliseconds | ||
backoff.delay {Number} Backoff delay, in milliseconds | ||
@@ -442,0 +442,0 @@ lifo {Boolean} A boolean which, if true, adds the job to the right of the queue |
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
217868
5750