Comparing version 1.1.20 to 1.1.21
@@ -540,3 +540,5 @@ const EventEmitter = require('events'); | ||
this.closeWorkerAfterMs[name] = setTimeout(() => { | ||
this.workers[name].terminate(); | ||
if (this.workers[name]) { | ||
this.workers[name].terminate(); | ||
} | ||
}, closeWorkerAfterMs); | ||
@@ -543,0 +545,0 @@ } |
{ | ||
"name": "bree", | ||
"description": "The best job scheduler for Node.js with support for cron, dates, ms, later, and human-friendly strings. Uses workers to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and cancelable promises (graceful shutdown). Simple, fast, and the most lightweight tool for the job. Made for Forward Email and Lad.", | ||
"version": "1.1.20", | ||
"version": "1.1.21", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -6,0 +6,0 @@ "ava": { |
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
70178
686