Skip to content

Commit e51ecaa

Browse files
Copilotcschleiden
andcommitted
Add documentation for WithRemoveContinuedAsNewInstances backend option
Co-authored-by: cschleiden <[email protected]>
1 parent 87f8ad6 commit e51ecaa

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)