@cap-js-community/event-queue 1.8.4 → 1.8.5
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/package.json +1 -1
- package/src/config.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cap-js-community/event-queue",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.5",
|
|
4
4
|
"description": "An event queue that enables secure transactional processing of asynchronous and periodic events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
package/src/config.js
CHANGED
|
@@ -314,8 +314,12 @@ class Config {
|
|
|
314
314
|
appNames: config.appNames,
|
|
315
315
|
appInstances: config.appInstances,
|
|
316
316
|
useEventQueueUser: config.useEventQueueUser,
|
|
317
|
+
retryFailedAfter: config.retryFailedAfter,
|
|
318
|
+
priority: config.priority,
|
|
319
|
+
multiInstanceProcessing: config.multiInstanceProcessing,
|
|
317
320
|
internalEvent: true,
|
|
318
321
|
};
|
|
322
|
+
|
|
319
323
|
this.#basicEventTransformationAfterValidate(eventConfig);
|
|
320
324
|
this.#config.events.push(eventConfig);
|
|
321
325
|
this.#eventMap[this.generateKey(CAP_EVENT_TYPE, serviceName)] = eventConfig;
|