@camunda8/orchestration-cluster-api 9.0.2 → 9.0.3
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/CHANGELOG.md +7 -0
- package/dist/{chunk-JW2DWK5R.js → chunk-CSMB45H6.js} +18 -24
- package/dist/chunk-CSMB45H6.js.map +1 -0
- package/dist/fp/index.cjs +17 -23
- package/dist/fp/index.cjs.map +1 -1
- package/dist/fp/index.d.cts +1 -1
- package/dist/fp/index.d.ts +1 -1
- package/dist/fp/index.js +1 -1
- package/dist/{index-B7HfPv-I.d.ts → index-C-cbKqyy.d.ts} +4 -4
- package/dist/{index-C0kkfkPq.d.cts → index-iQD-RC8z.d.cts} +4 -4
- package/dist/index.cjs +17 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-JW2DWK5R.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [9.0.3](https://github.com/camunda/orchestration-cluster-api-js/compare/v9.0.2...v9.0.3) (2026-04-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add built-in defaults for maxParallelJobs and jobTimeoutMs in worker constructors ([23674c4](https://github.com/camunda/orchestration-cluster-api-js/commit/23674c4a853718b7546bd7b67184382823666f8f)), closes [#145](https://github.com/camunda/orchestration-cluster-api-js/issues/145)
|
|
7
|
+
|
|
1
8
|
## [9.0.2](https://github.com/camunda/orchestration-cluster-api-js/compare/v9.0.1...v9.0.2) (2026-04-14)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -129,17 +129,14 @@ var JobWorker = class {
|
|
|
129
129
|
_log;
|
|
130
130
|
constructor(client2, cfg) {
|
|
131
131
|
this._client = client2;
|
|
132
|
-
this._cfg = {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
"jobTimeoutMs is required: set it on JobWorkerConfig or via CAMUNDA_WORKER_TIMEOUT (environment variable or CamundaOptions.config override)."
|
|
141
|
-
);
|
|
142
|
-
}
|
|
132
|
+
this._cfg = {
|
|
133
|
+
pollIntervalMs: 1,
|
|
134
|
+
autoStart: true,
|
|
135
|
+
validateSchemas: false,
|
|
136
|
+
maxParallelJobs: 10,
|
|
137
|
+
jobTimeoutMs: 6e4,
|
|
138
|
+
...cfg
|
|
139
|
+
};
|
|
143
140
|
this._maxParallelJobs = this._cfg.maxParallelJobs;
|
|
144
141
|
this._jobTimeoutMs = this._cfg.jobTimeoutMs;
|
|
145
142
|
this._name = cfg.workerName || `worker-${cfg.jobType}-${++_workerCounter}`;
|
|
@@ -4412,7 +4409,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
|
|
|
4412
4409
|
}
|
|
4413
4410
|
|
|
4414
4411
|
// src/runtime/version.ts
|
|
4415
|
-
var packageVersion = "9.0.
|
|
4412
|
+
var packageVersion = "9.0.3";
|
|
4416
4413
|
|
|
4417
4414
|
// src/runtime/supportLogger.ts
|
|
4418
4415
|
var NoopSupportLogger = class {
|
|
@@ -5521,17 +5518,14 @@ var ThreadedJobWorker = class {
|
|
|
5521
5518
|
constructor(client2, pool, cfg) {
|
|
5522
5519
|
this._client = client2;
|
|
5523
5520
|
this._pool = pool;
|
|
5524
|
-
this._cfg = {
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
"jobTimeoutMs is required: set it on ThreadedJobWorkerConfig or via CAMUNDA_WORKER_TIMEOUT (environment variable or CamundaOptions.config override)."
|
|
5533
|
-
);
|
|
5534
|
-
}
|
|
5521
|
+
this._cfg = {
|
|
5522
|
+
pollIntervalMs: 1,
|
|
5523
|
+
autoStart: true,
|
|
5524
|
+
validateSchemas: false,
|
|
5525
|
+
maxParallelJobs: 10,
|
|
5526
|
+
jobTimeoutMs: 6e4,
|
|
5527
|
+
...cfg
|
|
5528
|
+
};
|
|
5535
5529
|
this._maxParallelJobs = this._cfg.maxParallelJobs;
|
|
5536
5530
|
this._jobTimeoutMs = this._cfg.jobTimeoutMs;
|
|
5537
5531
|
this._name = cfg.workerName || `threaded-worker-${cfg.jobType}-${++_workerCounter2}`;
|
|
@@ -16721,4 +16715,4 @@ export {
|
|
|
16721
16715
|
withTimeoutTE,
|
|
16722
16716
|
eventuallyTE
|
|
16723
16717
|
};
|
|
16724
|
-
//# sourceMappingURL=chunk-
|
|
16718
|
+
//# sourceMappingURL=chunk-CSMB45H6.js.map
|