@cap-js-community/event-queue 1.7.0 → 1.7.1
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/initialize.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cap-js-community/event-queue",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
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/initialize.js
CHANGED
|
@@ -37,7 +37,7 @@ const CONFIG_VARS = [
|
|
|
37
37
|
["redisOptions", {}],
|
|
38
38
|
["insertEventsBeforeCommit", true],
|
|
39
39
|
["enableCAPTelemetry", false],
|
|
40
|
-
["
|
|
40
|
+
["cronTimezone", null],
|
|
41
41
|
["publishEventBlockList", true],
|
|
42
42
|
];
|
|
43
43
|
|
|
@@ -59,7 +59,7 @@ const CONFIG_VARS = [
|
|
|
59
59
|
* @param {Object} [options.redisOptions={}] - Configuration options for Redis.
|
|
60
60
|
* @param {boolean} [options.insertEventsBeforeCommit=true] - Insert events into the queue before committing the transaction.
|
|
61
61
|
* @param {boolean} [options.enableCAPTelemetry=false] - Enable telemetry for CAP.
|
|
62
|
-
* @param {string} [options.
|
|
62
|
+
* @param {string} [options.cronTimezone=null] - Default timezone for cron jobs.
|
|
63
63
|
* @param {string} [options.publishEventBlockList=true] - If redis is available event blocklist is distributed to all application instances
|
|
64
64
|
*/
|
|
65
65
|
const initialize = async (options = {}) => {
|