@dudousxd/nestjs-durable 0.52.7 → 0.53.0
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.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -563,6 +563,11 @@ interface DurableModuleOptions {
|
|
|
563
563
|
* (a poison pill that crashes the process every boot). Omit for unlimited. Operator only.
|
|
564
564
|
*/
|
|
565
565
|
maxRecoveryAttempts?: number;
|
|
566
|
+
/**
|
|
567
|
+
* How long (ms) a run may stay unresumable because its workflow version is registered nowhere (a
|
|
568
|
+
* renamed or deleted workflow) before it is dead-lettered. Default 24h; `0` skips it forever.
|
|
569
|
+
*/
|
|
570
|
+
unregisteredWorkflowGraceMs?: number;
|
|
566
571
|
/**
|
|
567
572
|
* Opt-in liveness deadline (ms) for a remote (polyglot) workflow `advance`. If the worker neither
|
|
568
573
|
* returns a decision nor sends a run-scoped heartbeat within this window, the engine presumes it dead
|
package/dist/index.d.ts
CHANGED
|
@@ -563,6 +563,11 @@ interface DurableModuleOptions {
|
|
|
563
563
|
* (a poison pill that crashes the process every boot). Omit for unlimited. Operator only.
|
|
564
564
|
*/
|
|
565
565
|
maxRecoveryAttempts?: number;
|
|
566
|
+
/**
|
|
567
|
+
* How long (ms) a run may stay unresumable because its workflow version is registered nowhere (a
|
|
568
|
+
* renamed or deleted workflow) before it is dead-lettered. Default 24h; `0` skips it forever.
|
|
569
|
+
*/
|
|
570
|
+
unregisteredWorkflowGraceMs?: number;
|
|
566
571
|
/**
|
|
567
572
|
* Opt-in liveness deadline (ms) for a remote (polyglot) workflow `advance`. If the worker neither
|
|
568
573
|
* returns a decision nor sends a run-scoped heartbeat within this window, the engine presumes it dead
|
package/dist/index.js
CHANGED
|
@@ -2951,6 +2951,7 @@ var DurableModule = class _DurableModule {
|
|
|
2951
2951
|
leaseMs: options.leaseMs,
|
|
2952
2952
|
admission: options.admission,
|
|
2953
2953
|
maxRecoveryAttempts: options.maxRecoveryAttempts,
|
|
2954
|
+
unregisteredWorkflowGraceMs: options.unregisteredWorkflowGraceMs,
|
|
2954
2955
|
remoteAdvanceSilenceMs: options.remoteAdvanceSilenceMs,
|
|
2955
2956
|
remoteRedispatchMs: options.remoteRedispatchMs,
|
|
2956
2957
|
remoteRedispatchMax: options.remoteRedispatchMax,
|