Skip to content

Commit 26b3c85

Browse files
authored
Merge pull request #399 from cschleiden/copilot/fix-398
Document the `WithRemoveContinuedAsNewInstances` backend option
2 parents cd70aaa + e51ecaa commit 26b3c85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/source/includes/_backends.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ There are three backend implementations maintained in this repository. Some back
88
- `WithTracerProvider(tp trace.TracerProvider)` - Set the OpenTelemetry tracer provider
99
- `WithConverter(converter converter.Converter)` - Provide a custom `Converter` implementation
1010
- `WithContextPropagator(prop workflow.ContextPropagator)` - Adds a custom context propagator
11+
- `WithRemoveContinuedAsNewInstances()` - Immediately removes workflow instances that complete using ContinueAsNew, including their history. ContinueAsNew allows workflows to restart with new parameters while preserving the same instance ID. By default, such instances are retained according to the configured retention policy. Use this option to prevent storage bloat in workflows that frequently use ContinueAsNew.
1112

1213

1314
## SQLite

0 commit comments

Comments
 (0)