Comparing version 4.5.2 to 4.5.3
@@ -0,1 +1,8 @@ | ||
## [4.5.3](https://github.com/OptimalBits/bull/compare/v4.5.2...v4.5.3) (2022-02-14) | ||
### Bug Fixes | ||
* **commands:** do not wait for redis to load commands ([ad7b647](https://github.com/OptimalBits/bull/commit/ad7b6474db426b4970a0d1d3ddb8a032a22c481b)) | ||
## [4.5.2](https://github.com/OptimalBits/bull/compare/v4.5.1...v4.5.2) (2022-02-14) | ||
@@ -2,0 +9,0 @@ |
@@ -18,4 +18,2 @@ /** | ||
const utils = require('../utils'); | ||
module.exports = (function() { | ||
@@ -25,3 +23,2 @@ let scripts; | ||
return async function(client) { | ||
await utils.isRedisReady(client); | ||
scripts = await (scripts || loadScripts()); | ||
@@ -28,0 +25,0 @@ |
@@ -737,5 +737,5 @@ 'use strict'; | ||
let cursor = 0; | ||
do { | ||
cursor = await scripts.retryJobs(this, opts.count); | ||
} while (cursor); | ||
do { | ||
cursor = await scripts.retryJobs(this, opts.count); | ||
} while (cursor); | ||
}; | ||
@@ -742,0 +742,0 @@ |
{ | ||
"name": "bull", | ||
"version": "4.5.2", | ||
"version": "4.5.3", | ||
"description": "Job manager", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
183905
3365