# RunReconciliationOptions

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.runreconciliationoptions/
> Summary: RunReconciliationOptions: Orphaned-run reconciliation settings.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

Orphaned-run reconciliation settings.

```csharp
public sealed class RunReconciliationOptions
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.runreconciliationoptions/">RunReconciliationOptions</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Remarks

Read from the `Tracon:RunReconciliation` configuration section.
See `TraconServiceCollectionExtensions.AddTracon`.

## Constructors

### <a id="Tracon_RunReconciliationOptions__ctor"></a> RunReconciliationOptions\(\)

```csharp
public RunReconciliationOptions()
```

## Fields

### <a id="Tracon_RunReconciliationOptions_SectionName"></a> SectionName

The configuration section name.

```csharp
public const string SectionName = "Tracon:RunReconciliation"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Properties

### <a id="Tracon_RunReconciliationOptions_Enabled"></a> Enabled

Whether reconciliation is on. Defaults to [false](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool): in a
single-instance development setup, no one expects a background writer,
and no query goes to the lease table.

```csharp
public bool Enabled { get; set; }
```

#### Property Value

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_RunReconciliationOptions_HeartbeatInterval"></a> HeartbeatInterval

The interval at which a running run writes its "I'm still here" signal.

```csharp
public TimeSpan HeartbeatInterval { get; set; }
```

#### Property Value

 [TimeSpan](https://learn.microsoft.com/dotnet/api/system.timespan)

### <a id="Tracon_RunReconciliationOptions_MaxRunsPerScan"></a> MaxRunsPerScan

The maximum number of rows to close in one pass.

```csharp
public int MaxRunsPerScan { get; set; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_RunReconciliationOptions_OrphanThreshold"></a> OrphanThreshold

A `Running` row that has not signalled for longer than this is
considered orphaned.

```csharp
public TimeSpan OrphanThreshold { get; set; }
```

#### Property Value

 [TimeSpan](https://learn.microsoft.com/dotnet/api/system.timespan)

#### Remarks

Defaults to ten times [RunReconciliationOptions.HeartbeatInterval](/api/tracon.runreconciliationoptions/#Tracon_RunReconciliationOptions_HeartbeatInterval): a single GC
pause or a brief database interruption must not declare a job running dead.

### <a id="Tracon_RunReconciliationOptions_ScanInterval"></a> ScanInterval

The wait between reconciliation passes.

```csharp
public TimeSpan ScanInterval { get; set; }
```

#### Property Value

 [TimeSpan](https://learn.microsoft.com/dotnet/api/system.timespan)
