@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.js
CHANGED
|
@@ -850,7 +850,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
850
850
|
filter: { uuid: this.routineExecId }
|
|
851
851
|
});
|
|
852
852
|
}
|
|
853
|
-
if (this.debug
|
|
853
|
+
if (this.debug) {
|
|
854
854
|
this.log();
|
|
855
855
|
}
|
|
856
856
|
this.emitWithMetadata("meta.node.started", {
|
|
@@ -2840,7 +2840,6 @@ var ThrottleEngine = class _ThrottleEngine {
|
|
|
2840
2840
|
* Set a custom concurrency limit for a specific tag
|
|
2841
2841
|
*/
|
|
2842
2842
|
setConcurrencyLimit(tag, limit) {
|
|
2843
|
-
console.log("setConcurrency", tag, limit);
|
|
2844
2843
|
this.maxConcurrencyPerTag[tag] = limit;
|
|
2845
2844
|
}
|
|
2846
2845
|
throttle(fn, node, tag = "default") {
|
|
@@ -2850,7 +2849,6 @@ var ThrottleEngine = class _ThrottleEngine {
|
|
|
2850
2849
|
});
|
|
2851
2850
|
(_b = (_a = this.queues)[tag]) != null ? _b : _a[tag] = [];
|
|
2852
2851
|
this.queues[tag].push([fn, node]);
|
|
2853
|
-
console.log(node.lightExport().__task.__name, tag, this.queues[tag]);
|
|
2854
2852
|
(_d = (_c = this.maxConcurrencyPerTag)[tag]) != null ? _d : _c[tag] = 1;
|
|
2855
2853
|
this.processQueue(tag);
|
|
2856
2854
|
return functionPromise;
|