Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pg-scheduler

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-scheduler - npm Package Compare versions

Comparing version 4.0.0-beta7 to 4.0.0-beta8

3

dst/Scheduler.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc