@dudousxd/nestjs-durable 0.55.0 → 0.55.2

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.d.cts CHANGED
@@ -752,6 +752,12 @@ interface DurableModuleOptions {
752
752
  * `WorkflowEngineDeps.blockedPollMs`. Operator only.
753
753
  */
754
754
  blockedPollMs?: number;
755
+ /**
756
+ * How long (ms) the routing guard reuses the worker descriptors it read for a queue token. On
757
+ * BullMQ each read scans the Redis keyspace. Default 2000; `0` reads on every dispatch. See
758
+ * `WorkflowEngineDeps.workerDescriptorCacheMs`. Operator only.
759
+ */
760
+ workerDescriptorCacheMs?: number;
755
761
  /**
756
762
  * Persist a `running` checkpoint when a local step's body begins, so an in-flight step survives a
757
763
  * dashboard reload. Defaults to `true`; set `false` on hot paths with many short local steps to
package/dist/index.d.ts CHANGED
@@ -752,6 +752,12 @@ interface DurableModuleOptions {
752
752
  * `WorkflowEngineDeps.blockedPollMs`. Operator only.
753
753
  */
754
754
  blockedPollMs?: number;
755
+ /**
756
+ * How long (ms) the routing guard reuses the worker descriptors it read for a queue token. On
757
+ * BullMQ each read scans the Redis keyspace. Default 2000; `0` reads on every dispatch. See
758
+ * `WorkflowEngineDeps.workerDescriptorCacheMs`. Operator only.
759
+ */
760
+ workerDescriptorCacheMs?: number;
755
761
  /**
756
762
  * Persist a `running` checkpoint when a local step's body begins, so an in-flight step survives a
757
763
  * dashboard reload. Defaults to `true`; set `false` on hot paths with many short local steps to
package/dist/index.js CHANGED
@@ -3540,6 +3540,7 @@ var DurableModule = class _DurableModule {
3540
3540
  eventBufferTtlMs: options.eventBufferTtlMs,
3541
3541
  signalIdTtl: options.signalIdTtl,
3542
3542
  blockedPollMs: options.blockedPollMs,
3543
+ workerDescriptorCacheMs: options.workerDescriptorCacheMs,
3543
3544
  trackStepStart: options.trackStepStart,
3544
3545
  stickyRuns: options.stickyRuns,
3545
3546
  stickyIdleMs: options.stickyIdleMs,