Property MaximumDuration
- Namespace
- MailFathom.Application.Discovery.Streaming
- Assembly
- MailFathom.Application.dll
MaximumDuration
The longest one run may take before it is stopped where it stands.
public static TimeSpan MaximumDuration { get; }
Property Value
Remarks
Generous against what a question needs — a derivation and up to six ranked reads — and short enough that a run whose provider never answers stops holding a scope and a database connection. It is what a run that lost its client is eventually ended by, and it ends the run as TimedOut with whatever it had already published still readable.
WatchedDiscoveryRun applies it, over a cancellation source of its own rather than over the token its caller passes, which is what keeps a run that spent this bound distinguishable from one a stopping deployment cut short.