Table of Contents

Class PersistenceConcurrencyOptions

Namespace
MailFathom.Application.Persistence
Assembly
MailFathom.Application.dll

Bounds how often a safe local write is repeated after optimistic concurrency conflicts.

public sealed class PersistenceConcurrencyOptions
Inheritance
PersistenceConcurrencyOptions
Inherited Members

Remarks

The bound is deployment-wide rather than per use case. An optimistic conflict is a property of the shared row version that every retrying writer competes for, not of the operation that happened to observe it, so a per-service attempt count would multiply configuration without describing anything a deployment can reason about separately. Backoff shape stays inside OptimisticConcurrencyRetryPolicy because it is collision-avoidance detail; the attempt count is an operational safety limit and is therefore configurable.

Properties

MaximumCommitAttempts

Gets or sets the maximum number of complete commit attempts, including the first one.