quidproquo-core 0.0.74 → 0.0.76

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.
@@ -10,7 +10,7 @@ export interface QPQConfigAdvancedQueueSettings extends QPQConfigAdvancedSetting
10
10
  batchSize?: number;
11
11
  batchWindowInSeconds?: number;
12
12
  concurrency?: number;
13
- maxRetry?: number;
13
+ maxTries?: number;
14
14
  ttRetryInSeconds?: number;
15
15
  hasDeadLetterQueue?: boolean;
16
16
  }
@@ -20,7 +20,7 @@ export interface QueueQPQConfigSetting extends QPQConfigSetting {
20
20
  batchSize: number;
21
21
  batchWindowInSeconds: number;
22
22
  concurrency: number;
23
- maxRetry: number;
23
+ maxTries: number;
24
24
  ttRetryInSeconds: number;
25
25
  hasDeadLetterQueue: boolean;
26
26
  qpqQueueProcessors: QpqQueueProcessors;
@@ -10,7 +10,7 @@ const defineQueue = (name, buildPath, processors, options) => ({
10
10
  batchSize: (options === null || options === void 0 ? void 0 : options.batchSize) || 1,
11
11
  batchWindowInSeconds: (options === null || options === void 0 ? void 0 : options.batchWindowInSeconds) || 5,
12
12
  concurrency: (options === null || options === void 0 ? void 0 : options.concurrency) || 1,
13
- maxRetry: (options === null || options === void 0 ? void 0 : options.maxRetry) || 3,
13
+ maxTries: (options === null || options === void 0 ? void 0 : options.maxTries) || 1,
14
14
  ttRetryInSeconds: Math.min((options === null || options === void 0 ? void 0 : options.ttRetryInSeconds) || 300, 30),
15
15
  hasDeadLetterQueue: (options === null || options === void 0 ? void 0 : options.hasDeadLetterQueue) || true,
16
16
  qpqQueueProcessors: processors,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quidproquo-core",
3
- "version": "0.0.74",
3
+ "version": "0.0.76",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.js",