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

bull

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bull - npm Package Compare versions

Comparing version 4.8.3 to 4.8.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [4.8.4](https://github.com/OptimalBits/bull/compare/v4.8.3...v4.8.4) (2022-06-16)
### Bug Fixes
* **worker:** better disconnect when blocking connection ([b9ea7f4](https://github.com/OptimalBits/bull/commit/b9ea7f4780948d4556548e6bf13e2c3271939d12))
## [4.8.3](https://github.com/OptimalBits/bull/compare/v4.8.2...v4.8.3) (2022-05-12)

@@ -2,0 +9,0 @@

8

lib/queue.js

@@ -573,3 +573,7 @@ 'use strict';

Queue.prototype.disconnect = async function() {
await Promise.all(this.clients.map(redisClientDisconnect));
await Promise.all(
this.clients.map(client =>
client.blocked ? client.disconnect() : redisClientDisconnect(client)
)
);
};

@@ -1194,2 +1198,3 @@

try {
this.bclient.blocked = true;
const jobId = await this.bclient.brpoplpush(

@@ -1200,2 +1205,3 @@ this.keys.wait,

);
this.bclient.blocked = false;

@@ -1202,0 +1208,0 @@ if (jobId) {

2

package.json
{
"name": "bull",
"version": "4.8.3",
"version": "4.8.4",
"description": "Job manager",

@@ -5,0 +5,0 @@ "engines": {

@@ -275,3 +275,3 @@

// or give a error if error
// or give an error if error
done(new Error('error transcoding'));

@@ -293,3 +293,3 @@

// or give a error if error
// or give an error if error
done(new Error('error transcoding'));

@@ -311,3 +311,3 @@

// or give a error if error
// or give an error if error
done(new Error('error transcoding'));

@@ -314,0 +314,0 @@

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