@cadenza.io/core 1.11.14 → 1.11.15
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/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1179,7 +1179,11 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
1179
1179
|
return newNodes;
|
|
1180
1180
|
}
|
|
1181
1181
|
differentiate(task) {
|
|
1182
|
+
var _a, _b;
|
|
1182
1183
|
this.task = task;
|
|
1184
|
+
this.retryCount = task.retryCount;
|
|
1185
|
+
this.retryDelay = task.retryDelay;
|
|
1186
|
+
this.silent = task.isMeta && !this.debug || task.isSubMeta || ((_b = (_a = this.context) == null ? void 0 : _a.getMetadata()) == null ? void 0 : _b.__isSubMeta);
|
|
1183
1187
|
return this;
|
|
1184
1188
|
}
|
|
1185
1189
|
migrate(ctx) {
|
|
@@ -3103,6 +3107,12 @@ var Cadenza = class {
|
|
|
3103
3107
|
this.runner.setDebug(true);
|
|
3104
3108
|
this.runner.setVerbose(true);
|
|
3105
3109
|
}
|
|
3110
|
+
if (mode === "production") {
|
|
3111
|
+
this.broker.setDebug(false);
|
|
3112
|
+
this.broker.setVerbose(false);
|
|
3113
|
+
this.runner.setDebug(false);
|
|
3114
|
+
this.runner.setVerbose(false);
|
|
3115
|
+
}
|
|
3106
3116
|
}
|
|
3107
3117
|
/**
|
|
3108
3118
|
* Validates a name for uniqueness and non-emptiness.
|