@jayfong/x-server 1.26.1 → 1.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.26.2](https://github.com/jfWorks/x-server/compare/v1.26.1...v1.26.2) (2022-05-03)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * defineTask ([8b32f5c](https://github.com/jfWorks/x-server/commit/8b32f5c4b068ac5c03030901dffa599df4fb6cf6))
11
+
5
12
  ### [1.26.1](https://github.com/jfWorks/x-server/compare/v1.26.0...v1.26.1) (2022-05-03)
6
13
 
7
14
 
@@ -11,7 +11,11 @@ var _x = require("../x");
11
11
 
12
12
  function defineTask(options) {
13
13
  const queue = new _bull.default(options.name, {
14
- redis: _x.x.redis.options,
14
+ redis: { ..._x.x.redis.options,
15
+ // https://github.com/OptimalBits/bull/issues/2186
16
+ maxRetriesPerRequest: null,
17
+ enableReadyCheck: false
18
+ },
15
19
  prefix: `${_x.x.appId}_task`
16
20
  });
17
21
  queue.process(async job => {
@@ -2,7 +2,11 @@ import Queue from 'bull';
2
2
  import { x } from "../x";
3
3
  export function defineTask(options) {
4
4
  const queue = new Queue(options.name, {
5
- redis: x.redis.options,
5
+ redis: { ...x.redis.options,
6
+ // https://github.com/OptimalBits/bull/issues/2186
7
+ maxRetriesPerRequest: null,
8
+ enableReadyCheck: false
9
+ },
6
10
  prefix: `${x.appId}_task`
7
11
  });
8
12
  queue.process(async job => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jayfong/x-server",
3
- "version": "1.26.1",
3
+ "version": "1.26.2",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "lib/_cjs/index.js",