@cadenza.io/core 1.11.4 → 1.11.6
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 +1 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -812,7 +812,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
812
812
|
filter: { uuid: this.routineExecId }
|
|
813
813
|
});
|
|
814
814
|
}
|
|
815
|
-
if (this.debug
|
|
815
|
+
if (this.debug) {
|
|
816
816
|
this.log();
|
|
817
817
|
}
|
|
818
818
|
this.emitWithMetadata("meta.node.started", {
|
|
@@ -2802,7 +2802,6 @@ var ThrottleEngine = class _ThrottleEngine {
|
|
|
2802
2802
|
* Set a custom concurrency limit for a specific tag
|
|
2803
2803
|
*/
|
|
2804
2804
|
setConcurrencyLimit(tag, limit) {
|
|
2805
|
-
console.log("setConcurrency", tag, limit);
|
|
2806
2805
|
this.maxConcurrencyPerTag[tag] = limit;
|
|
2807
2806
|
}
|
|
2808
2807
|
throttle(fn, node, tag = "default") {
|
|
@@ -2812,7 +2811,6 @@ var ThrottleEngine = class _ThrottleEngine {
|
|
|
2812
2811
|
});
|
|
2813
2812
|
(_b = (_a = this.queues)[tag]) != null ? _b : _a[tag] = [];
|
|
2814
2813
|
this.queues[tag].push([fn, node]);
|
|
2815
|
-
console.log(node.lightExport().__task.__name, tag, this.queues[tag]);
|
|
2816
2814
|
(_d = (_c = this.maxConcurrencyPerTag)[tag]) != null ? _d : _c[tag] = 1;
|
|
2817
2815
|
this.processQueue(tag);
|
|
2818
2816
|
return functionPromise;
|