Table of Contents

Class FlowRetentionOptions

Namespace
FlowOrchestrator.Core.Configuration
Assembly
FlowOrchestrator.Core.dll

Configuration for the background data retention sweep. Applied via FlowOrchestratorBuilder.WithRetention().

public sealed class FlowRetentionOptions
Inheritance
FlowRetentionOptions
Inherited Members

Properties

DataTtl

Maximum age of completed run data before it is eligible for deletion. Measured from CompletedAt.

public TimeSpan DataTtl { get; set; }

Property Value

TimeSpan

Enabled

Enables the periodic retention cleanup hosted service. When false, no automatic deletion occurs regardless of other settings.

public bool Enabled { get; set; }

Property Value

bool

SweepInterval

How often the background cleanup sweep runs.

public TimeSpan SweepInterval { get; set; }

Property Value

TimeSpan