@rivetkit/workflow-engine 0.0.0-pr.4701.e1b1258 → 0.0.0-pr.4702.a179a52
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/tsup/{chunk-FQFA223W.js → chunk-CIDHCIH7.js} +3 -3
- package/dist/tsup/chunk-CIDHCIH7.js.map +1 -0
- package/dist/tsup/{chunk-OLIZR6XO.cjs → chunk-SFJQFMCW.cjs} +3 -3
- package/dist/tsup/{chunk-OLIZR6XO.cjs.map → chunk-SFJQFMCW.cjs.map} +1 -1
- package/dist/tsup/index.cjs +2 -2
- package/dist/tsup/index.d.cts +6 -0
- package/dist/tsup/index.d.ts +6 -0
- package/dist/tsup/index.js +1 -1
- package/dist/tsup/testing.cjs +23 -23
- package/dist/tsup/testing.js +1 -1
- package/package.json +1 -1
- package/src/context.ts +6 -2
- package/src/types.ts +6 -0
- package/dist/tsup/chunk-FQFA223W.js.map +0 -1
|
@@ -2514,8 +2514,8 @@ var WorkflowContextImpl = class _WorkflowContextImpl {
|
|
|
2514
2514
|
metadata.error = void 0;
|
|
2515
2515
|
metadata.dirty = true;
|
|
2516
2516
|
}
|
|
2517
|
-
const historyPruneInterval = config2.historyPruneInterval ?? DEFAULT_LOOP_HISTORY_PRUNE_INTERVAL;
|
|
2518
|
-
const historySize = config2.historySize ?? historyPruneInterval;
|
|
2517
|
+
const historyPruneInterval = config2.historyPruneInterval ?? config2.commitInterval ?? config2.historyEvery ?? DEFAULT_LOOP_HISTORY_PRUNE_INTERVAL;
|
|
2518
|
+
const historySize = config2.historySize ?? config2.historyKeep ?? historyPruneInterval;
|
|
2519
2519
|
let lastPrunedUpTo = 0;
|
|
2520
2520
|
let deferredFlush = null;
|
|
2521
2521
|
while (true) {
|
|
@@ -4210,4 +4210,4 @@ export {
|
|
|
4210
4210
|
runWorkflow,
|
|
4211
4211
|
replayWorkflowFromStep
|
|
4212
4212
|
};
|
|
4213
|
-
//# sourceMappingURL=chunk-
|
|
4213
|
+
//# sourceMappingURL=chunk-CIDHCIH7.js.map
|