@dudousxd/nestjs-durable 0.52.4 → 0.52.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudousxd/nestjs-durable",
3
- "version": "0.52.4",
3
+ "version": "0.52.5",
4
4
  "description": "Durable workflows for NestJS — module, decorators, discovery and boot recovery",
5
5
  "license": "MIT",
6
6
  "author": "Davide Carvalho",
@@ -68,10 +68,10 @@
68
68
  "@dudousxd/nestjs-diagnostics": "0.5.0",
69
69
  "@tanstack/intent": "0.4.0",
70
70
  "@dudousxd/durable-worker": "0.11.2",
71
- "@dudousxd/nestjs-durable-core": "^0.85.6",
72
- "@dudousxd/nestjs-durable-testing": "^0.22.3",
73
- "@dudousxd/nestjs-durable-transport-bullmq": "0.23.1",
71
+ "@dudousxd/nestjs-durable-core": "^0.85.7",
74
72
  "@dudousxd/nestjs-durable-dashboard": "0.52.1",
73
+ "@dudousxd/nestjs-durable-testing": "^0.23.0",
74
+ "@dudousxd/nestjs-durable-transport-bullmq": "0.23.2",
75
75
  "@dudousxd/nestjs-durable-transport-event-emitter": "^0.5.3"
76
76
  },
77
77
  "module": "./dist/index.js",
@@ -121,11 +121,11 @@ DurableModule.forRootAsync({
121
121
  });
122
122
  ```
123
123
 
124
- `BullMQTransport` has two concurrency knobs. `concurrency` (default `1`; a number, `'adaptive'`, or
124
+ `BullMQTransport`'s `concurrency` (default `1`; a number, `'adaptive'`, or
125
125
  `{ mode: 'adaptive', min, max, ... }`) is how many TASKS a worker runs at once from each step queue.
126
- `resultConcurrency` (default `1`) is how many step RESULTS the engine side handles at once. Raise it
127
- for wide fans; one run's results still resume it in order on an instance. A non-finite or sub-1
128
- `resultConcurrency` falls back to `1`.
126
+ The engine side handles up to 512 step RESULTS at once per instance and settles one run's results in
127
+ batches, so wide fans need no result tuning; `resultConcurrency` only raises that limit above 512.
128
+ One run's results still resume it in order on an instance.
129
129
 
130
130
  ### Split API pods from worker pods
131
131
 
@@ -189,8 +189,8 @@ try {
189
189
  }
190
190
  ```
191
191
 
192
- For a wide fan over `BullMQTransport`, raise `resultConcurrency` (default 1) on the instances that
193
- consume results; one run's results still resume it in order on an instance.
192
+ A wide fan's results need no transport tuning: each instance takes many results at once and settles
193
+ one run's results in batches, and one run's results still resume it in order on an instance.
194
194
 
195
195
  ### Sub-process events inside a step
196
196