pg-scheduler
Advanced tools
Comparing version 4.0.0-beta7 to 4.0.0-beta8
@@ -253,2 +253,3 @@ "use strict"; | ||
} | ||
// FIXME: sometimes `taskRunningCount` has negative value | ||
const taskRunningCount = this.processorsStorage.runningCount(task.name), workerRunningCount = this.processorsStorage.runningCount(); | ||
@@ -356,3 +357,3 @@ if (workerRunningCount >= this.options.maxConcurrency) { | ||
if (err) { | ||
console.error('processor completes with error', err); | ||
console.error('processor completes with error', err.stack); | ||
// TODO: make optional saving error to "TasksErrors" table | ||
@@ -359,0 +360,0 @@ task.failsCount++; |
{ | ||
"name": "pg-scheduler", | ||
"version": "4.0.0-beta7", | ||
"version": "4.0.0-beta8", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "test": "NODE_ENV=testing mocha test/**/*.ts", |
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
36704
925