RunReconciliationOptions
AgentPrism.Abstractions.dllOrphaned-run reconciliation settings.
public sealed class RunReconciliationOptionsInheritance
Section titled “Inheritance”object ← RunReconciliationOptions
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Read from the AgentPrism:RunReconciliation configuration section.
See AgentPrismServiceCollectionExtensions.AddAgentPrism.
Constructors
Section titled “Constructors”RunReconciliationOptions()
Section titled “ RunReconciliationOptions()”public RunReconciliationOptions()Fields
Section titled “Fields”SectionName
Section titled “ SectionName”The configuration section name.
public const string SectionName = "AgentPrism:RunReconciliation"Field Value
Section titled “Field Value”Properties
Section titled “Properties”Enabled
Section titled “ Enabled”Whether reconciliation is on. Defaults to false: in a single-instance development setup, no one expects a background writer, and no query goes to the lease table.
public bool Enabled { get; set; }Property Value
Section titled “Property Value”HeartbeatInterval
Section titled “ HeartbeatInterval”The interval at which a running run writes its “I’m still here” signal.
public TimeSpan HeartbeatInterval { get; set; }Property Value
Section titled “Property Value”MaxRunsPerScan
Section titled “ MaxRunsPerScan”The maximum number of rows to close in one pass.
public int MaxRunsPerScan { get; set; }Property Value
Section titled “Property Value”OrphanThreshold
Section titled “ OrphanThreshold”A Running row that has not signalled for longer than this is
considered orphaned.
public TimeSpan OrphanThreshold { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Defaults to ten times RunReconciliationOptions.HeartbeatInterval: a single GC pause or a brief database interruption must not declare a job running dead.
ScanInterval
Section titled “ ScanInterval”The wait between reconciliation passes.
public TimeSpan ScanInterval { get; set; }